> For the complete documentation index, see [llms.txt](https://help.autify.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.autify.com/nocode-web/en/autify-university/advanced/tests-on-private-environments/setup-autify-connect.md). Agents can also search and read this documentation through its [MCP server](https://help.autify.com/~gitbook/mcp).

# Setup Autify Connect

To use Autify Connect to run tests on your private environment, you will need to do the following:

1. **Create a Scenario against your private application**
2. **Configure Autify Connect from the** [**Workspace Settings page**](https://help.autify.com/nocode-web/en/autify-university/foundation/settings-1/workspace-settings.md)
3. **Install Autify Connect Client to your system**
4. **Configure your Test Plan**
5. **Run the Test Plan**

Let's look at each step in detail.

## 1. Create a Scenario against your private application

Create a scenario for the private application you wish to test. This can be done using Autify Recorder, just as you would to create a scenario for a public application.

## 2. Configure Autify Connect from the Workspace Settings page

### Create an Access Point

1. Navigate to your Workspace Settings page and find the Autify Connect section

   ![](https://1964297753-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVdZPTgwISYb3LhjgKnw6%2Fuploads%2Fgit-blob-73756cb06441390d3de2101f83938d1961a5f5c1%2FUntitled%20\(2\).png?alt=media)
2. Click the **Add** button and input a name for the **Access Point**. An Access Point is an identifier that is associated with a unique key that will be used by your Autify Connect Client.

   ![](https://1964297753-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVdZPTgwISYb3LhjgKnw6%2Fuploads%2Fgit-blob-01260c7cff1df0ca2f14ac84d0f24d3b74c07ae1%2FUntitled%20\(3\).png?alt=media)
3. Click the **Create** button. An **Access Point Key** will be displayed. Please keep it in a secure place, as this will be required when you set up Autify Connect Client in a later step.

## 3. Install Autify Connect Client on your system

### Download Autify Connect Client

#### Stand-alone binaries

Download Autify Connect Client for the platform you’ll be using, and follow the instruction provided for each OS.

<table data-search="false"><thead><tr><th>OS</th><th>Archictecture</th><th>Package type</th><th>Download Link</th></tr></thead><tbody><tr><td>Linux</td><td>i386 32 bit</td><td>tar.gz</td><td><a href="https://autifyconnect.s3.ap-northeast-1.amazonaws.com/autifyconnect/versions/stable/autifyconnect_linux_386.tar.gz">stable</a></td></tr><tr><td>Linux</td><td>x86-64 64 bit</td><td>tar.gz</td><td><a href="https://autifyconnect.s3.ap-northeast-1.amazonaws.com/autifyconnect/versions/stable/autifyconnect_linux_amd64.tar.gz">stable</a></td></tr><tr><td>Linux</td><td>Arm 32 bit</td><td>tar.gz</td><td><a href="https://autifyconnect.s3.ap-northeast-1.amazonaws.com/autifyconnect/versions/stable/autifyconnect_linux_arm.tar.gz">stable</a></td></tr><tr><td>Linux</td><td>Arm 64 bit</td><td>tar.gz</td><td><a href="https://autifyconnect.s3.ap-northeast-1.amazonaws.com/autifyconnect/versions/stable/autifyconnect_linux_arm64.tar.gz">stable</a></td></tr><tr><td>macOS</td><td>x86-64 64 bit</td><td>tar.gz</td><td><a href="https://autifyconnect.s3.ap-northeast-1.amazonaws.com/autifyconnect/versions/stable/autifyconnect_darwin_amd64.tar.gz">stable</a></td></tr><tr><td>macOS</td><td>Arm 64 bit</td><td>tar.gz</td><td><a href="https://autifyconnect.s3.ap-northeast-1.amazonaws.com/autifyconnect/versions/stable/autifyconnect_darwin_arm64.tar.gz">stable</a></td></tr><tr><td>Windows</td><td>i386 32 bit</td><td>zip</td><td><a href="https://autifyconnect.s3.ap-northeast-1.amazonaws.com/autifyconnect/versions/stable/autifyconnect_windows_386.zip">stable</a></td></tr><tr><td>Windows</td><td>x86-64 64 bit</td><td>zip</td><td><a href="https://autifyconnect.s3.ap-northeast-1.amazonaws.com/autifyconnect/versions/stable/autifyconnect_windows_amd64.zip">stable</a></td></tr><tr><td>Windows</td><td>Arm 32 bit</td><td>zip</td><td><a href="https://autifyconnect.s3.ap-northeast-1.amazonaws.com/autifyconnect/versions/stable/autifyconnect_windows_arm.zip">stable</a></td></tr><tr><td>Windows</td><td>Arm 64 bit</td><td>zip</td><td><a href="https://autifyconnect.s3.ap-northeast-1.amazonaws.com/autifyconnect/versions/stable/autifyconnect_windows_arm64.zip">stable</a></td></tr></tbody></table>

#### Docker Image

We also have Docker image in the ECR Public Gallery on AWS. If using Docker images is more suitable for your operation, please give it a try: <https://gallery.ecr.aws/autifyhq/autifyconnect>

**How to use Docker Image**

1. Use "--key" option

```
docker run --platform=linux/amd64 public.ecr.aws/autifyhq/autifyconnect:latest --key=[Access Point Key ]
```

2. Set environment variable（AUTIFY\_CONNECT\_KEY）

```
docker run --platform=linux/amd64 --env AUTIFY_CONNECT_KEY public.ecr.aws/autifyhq/autifyconnect:latest
```

{% hint style="warning" %}
**Windows container mode is not supported.**

The provided Docker images do not support Windows container mode. Switch to Linux container mode before launching.
{% endhint %}

### Install Autify Connect Client

#### Linux / macOS

1. Unzip the file you downloaded.
2. Run the following command to see if it shows the help dialog. If it didn’t work you may have downloaded the app for a different environment.

   ```bash
   ./autifyconnect -h
   ```
3. Replace xxxxxx with the key of an access point and run the command. Your Autify Connect Client will establish a connection to Autify Connect Server so that it's ready to run tests.

   ```bash
   ./autifyconnect --key xxxxxx
   ```

{% hint style="info" %}
**Tips**

Keys can be also stored in an environment variable: **AUTIFY\_CONNECT\_KEY**
{% endhint %}

#### Windows

1. Unzip the file you downloaded.If you see warning message during the download please ignore it and continue to download.For Chrome, click the allow icon right side of Discard button, then you will see the “Keep” option.

   ![](https://1964297753-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVdZPTgwISYb3LhjgKnw6%2Fuploads%2Fgit-blob-e7d43991f5e6e12823add879253dacdb3fe96fbe%2FUntitled%20\(6\).png?alt=media)
2. Launch cmd, powershell or windows terminal(store app) and execute the following command to see the option commands. Before executing, it is necessary to move to the location of the executable file (autifyconnect) or set the path to the executable file, as appropriate.

   ```powershell
   autifyconnect -h
   ```

   ![](https://1964297753-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVdZPTgwISYb3LhjgKnw6%2Fuploads%2Fgit-blob-4f86c335d04daebb86b21fc7e032767d7820965d%2FUntitled%20\(7\).png?alt=media)

   Note: when executing the client app, Windows Defender may show a protection notification or block the execution.

   ![](https://1964297753-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVdZPTgwISYb3LhjgKnw6%2Fuploads%2Fgit-blob-8cb0a86bd5196cc667d0fbdeb128144832dfa8dc%2FUntitled%20\(8\).png?alt=media)

   In that case, you need to add the Connect Client to the exclusion list

   ![](https://1964297753-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVdZPTgwISYb3LhjgKnw6%2Fuploads%2Fgit-blob-2d018d1038e57b1a682bd2cd38d5b7c7a536a391%2FUntitled%20\(9\).png?alt=media)
3. Replace xxxxxx with the key of an access point and run the command. Your Autify Connect Client will establish a connection to Autify Connect Server so that it's ready to run tests.

   ```powershell
   autifyconnect --key xxxxxx
   ```

## 4. Configure your Test Plan

1. Go to the test plan details page and click the ”Edit” button next to “Test scenarios”

   ![](https://1964297753-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVdZPTgwISYb3LhjgKnw6%2Fuploads%2Fgit-blob-402ecdb3d0fdf0a62af158fa4f287468b7604740%2FUntitled%20\(10\).png?alt=media)
2. You can find a field to configure an access point on the right side of the page. Select the access point you created.

   ![](https://1964297753-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVdZPTgwISYb3LhjgKnw6%2Fuploads%2Fgit-blob-f8e59da097c9dff919214e9455e52ac150c5ed91%2FUntitled%20\(11\).png?alt=media)
3. Add the scenarios you created for private applications to the test plan.

## 5. Run the Test Plan

1. Launch Autify Connect Client on your system. Make sure that the connection with Autify Connect Server is successfully established.

   ![](https://1964297753-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVdZPTgwISYb3LhjgKnw6%2Fuploads%2Fgit-blob-ce9139b4d5ad7a2f5a2a5178b481af578eb7d3c1%2FScreen%20Shot%202022-08-17%20at%2018.04.22.png?alt=media)
2. Run the test plan from Test Plan page.

   ![](https://1964297753-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVdZPTgwISYb3LhjgKnw6%2Fuploads%2Fgit-blob-f826eb1bf6d1d5c09d61dd06cd9e16cbfcf53c71%2FUntitled%20\(12\).png?alt=media)
3. When a request is made from Autify Connect Server to the application through Autify Connect Client, details are output to the log if the client has been launched with -V option.

   ![](https://1964297753-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVdZPTgwISYb3LhjgKnw6%2Fuploads%2Fgit-blob-23e82238e6341b26be277625d352efcdcf358baa%2FScreen%20Shot%202022-08-17%20at%2018.04.34.png?alt=media)
4. Once the test is complete, review the result. Note that your Access Point used for the test is displayed under "Autify Connect".

   ![](https://1964297753-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVdZPTgwISYb3LhjgKnw6%2Fuploads%2Fgit-blob-f1412bf54e478d8c8fb94eb5b99dd65c0da7361e%2FScreen%20Shot%202022-08-18%20at%201.08.16.png?alt=media)

{% hint style="info" %}
**Test execution with API**

Tests using Autify Connect can be performed in the following ways by API:

* Execute a Test Plan with a specified Access Point from `/schedule` endpoint
* Execute Scenarios from `/execute_scenarios` endpoint with the name of your Access Point

In addition, [Autify CLI](https://help.autify.com/nocode-web/en/autify-university/integrations/autify-command-line-interface.md) also supports Autify Connect.

See the following documents for details:

* [Autify API](https://autifyhq.github.io/autify-api/#/)
* [Autify CLI](https://github.com/autifyhq/autify-cli)
  {% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.autify.com/nocode-web/en/autify-university/advanced/tests-on-private-environments/setup-autify-connect.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
