> For the complete documentation index, see [llms.txt](https://docs.middle.app/middle-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.middle.app/middle-docs/product/accounts/connect-or-edit-an-app-connection.md).

# Connect or edit an app connection

Perform actions and sync data with connected apps

App connections house app authentication, data syncs, stored records, and workflow actions.

{% hint style="info" %}
There is no limit to the number of apps you can connect to an account
{% endhint %}

## Adding a new app connection

To connect a new app:

1. Click **+ New App Connection** in the left-hand menu under "APP CONNECTIONS"
2. Select the desired app from the list of available apps
3. Click **Add Connection**.

{% hint style="warning" %}
If you don't see an app you need, reach out to <support@middle.app>. They will either need to set up your organization with access to this app or it's an integration that has not been developed yet in Middle.
{% endhint %}

## Authenticate

When you connect a new app to an account, you will be taken to the connection details page to authenticate.

To re-authenticate an existing app, go to the app connection and click **Edit Connection Details**.

Every app has [a different authentication](/middle-docs/guides/app-reference.md). Depending on the app, you may need to enter credentials in a form or you may need to complete an OAuth flow

You'll also have the ability to select which version of an app you'd like to use. In general, you'll want to use the pre-selected version.

{% content-ref url="/pages/gRUrzfYHnDWgayrrFg43" %}
[App Reference](/middle-docs/guides/app-reference.md)
{% endcontent-ref %}


---

# 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://docs.middle.app/middle-docs/product/accounts/connect-or-edit-an-app-connection.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.
