# Testing your apps

Now that you’ve created your authentication configuration, record types/poll syncs, and actions, you can utilize Middle’s testing feature.&#x20;

## Test Connections

Your Middle app will allow you to build a Test Connection based on your defined authentication schema. This is also a great way to view the same form that will be filled out when someone connects an Account to this app.&#x20;

Click **+ CREATE** and choose an Auth Configuration to set up your connection.

<figure><img src="https://lh6.googleusercontent.com/F6iOTNFjBoxPka11X9OoZF048wFvUoOOD4dFrF8nemO_3TqcYRz4EFLq0LQiSV3A1OBExquEkfbabtGFihNs8Ev9FWETONS090voS8amAh59En9QkdOpS5zOvjHEGFl8shHHPTAjyPwA1UHYglZLoqZz1gJTqA6kBRgmfsEvBh2jbUwc79u7KuMk7BS1cA" alt=""><figcaption><p>Create a connection to use for your app's testing</p></figcaption></figure>

Here you can select the connection version, select an API Key (if applicable), and fill out any fields required by your authentication schema.

<figure><img src="https://lh3.googleusercontent.com/b1plZ3zSqK2AGgMMCWSouF1rrRAU9hT9TDGe_oSX75-wjORS4MHoQKvfy103hq6oERBD-taM4vpiNpnReFk6MegHTLePPzPfwZq8hS8NSPXtTVTCRxD_pzLn-Hrz-dUqx-d8KKu5IGTw4aoyzetEBD7ReqVV6l5qfQ_6oPYwBx5bOX6bvDoqQhyKM43L_g" alt=""><figcaption><p>Setting up a test connection</p></figcaption></figure>

Fill out the fields and hit **Save** in order to set up your test connection.&#x20;

You can create multiple test connections, although only one may be active at a time for a version.&#x20;

When working with a script, you can use the **Test Settings** dropdown to select a Test Connection.&#x20;

&#x20;

<figure><img src="https://lh5.googleusercontent.com/7HKxwYt5GZuDnfNrfX5Ninuj1ynCoBjF7cb5o5rB6Rd_QrMJ5BLK-Jki5iL7LlyHnLcQaCgP7WFSL1499IwxzWzjkh2WZrD-rwzSsCpqFzIE1f3gUSh9haOHmoydTRsTlUXz3krAZ4Wq70p3QJiTykj1M7TJce7bNzWPM1h7Rgg-c4MqBDcDFo81dTghmQ" alt=""><figcaption><p>Select your test connection to execute your script on</p></figcaption></figure>

For actions or poll syncs that require a payload, you can provide a JSON dictionary within the test settings.

<figure><img src="https://lh5.googleusercontent.com/H8lqrQV7mDutPeGw2KhjER8f5nTcZ1yqnax-Cos8LP0BnyDBxCJuRKff5UU2ICUJJnyfwhAYwU3R7NU-T69d-W9ssPQvvPxNMdsYtzbx3vx5giBuuRb4agIO-sh8NDFWVEJJ-qVncNSJAdeGp7YVaTgNqmKYYRu7L49f-eJzZffyLMnZ_QWZBV_Qs9_XQw" alt=""><figcaption><p>Define an input for a test</p></figcaption></figure>

Once a Test Connection is selected, you can click **Run Test** to test your script.
