# App Reference

## Getting app credentials

To connect with any app, you will need your own API credentials to facilitate the integration. Depending on the app, the nature of this integration varies. Oftentimes, an API partnership is required with the app provider, an OAuth application must be created in the software platform, or it's as simple as grabbing an API key from the app admin.

API credentials are either entered on the [app connection page](/middle-docs/building-workflows/connect-or-edit-an-app-connection.md) or at an organization level, in the [API keys](/middle-docs/app-development/credential-storage.md) tool.

{% hint style="info" %}
All OAuth authentications require OAuth application credentials to be entered in the [API keys](/middle-docs/app-development/credential-storage.md) menu
{% endhint %}

### Redirect URLs

When an app authentication requires a redirect URL, as is the case for OAuth flows, you'll need to use a redirect URL that returned to your Middle instance. You'll want to use the following: `https://`<mark style="color:orange;">`{`</mark>*<mark style="color:orange;">`ENTER YOUR INSTANCE NAME HERE`</mark>*<mark style="color:orange;">`}`</mark>`.middle.app/oauth-redirect-uri/`


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.middle.app/middle-docs/guides/app-reference.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
