> For the complete documentation index, see [llms.txt](https://docs.stacksync.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.stacksync.com/connectors/acumatica/create-an-acumatica-connected-application.md).

# Create an Acumatica Connected Application

Create a connected application to generate the credentials Stacksync requires.

### Prerequisites

Before you begin, confirm that you have:

* Administrative access to Acumatica
* Permission to manage connected applications
* Your Acumatica instance URL

### 1. Open the Connected Applications screen

Sign in to Acumatica. Use the search bar to find **Connected Applications**.

<figure><img src="/files/PKcuhJ04zly6sqNBafpr" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/G6b50evuNHJSDGtVgSUY" alt=""><figcaption></figcaption></figure>

### 2. Create a connected application

Create a new application record.

<div align="left"><figure><img src="/files/NXB9iabn5voqWIz7mGXL" alt=""><figcaption></figcaption></figure></div>

Enter a recognizable name, such as `Stacksync`.

Set **Flow** to **Authorization Code**.

<div align="left"><figure><img src="/files/iiJElmgELYzH43MiyIwI" alt=""><figcaption></figcaption></figure></div>

Configure the token expiration:

* Set **Mode** to **Absolute Expiration**.
* Set **Absolute Lifetime (Days)** to `60`.

<figure><img src="/files/bxpizZAQjuJMafiJbYia" alt=""><figcaption></figcaption></figure>

### 3. Configure the redirect URI

Add this redirect URI:

```
https://app.stacksync.com/oauth/callback
```

{% hint style="warning" %}
Enter the redirect URI exactly. An incorrect value prevents authorization.
{% endhint %}

<div align="left"><figure><img src="/files/cC3bao8EgPjsmykzMlyK" alt=""><figcaption></figcaption></figure></div>

### 4. Create a client secret

Open the **SECRETS** tab. Add a new shared secret.

<figure><img src="/files/9O9As2ANzUgQGGVvwqDw" alt=""><figcaption></figcaption></figure>

In the **Add Shared Secret** dialog:

1. Enter a recognizable description.
2. Leave **Expires On (UTC)** blank.
3. Copy and store the **Value** securely.
4. Click **OK**.

<figure><img src="/files/Nckiu1IW79x9aCdACPWR" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
Copy the secret before closing the dialog. Acumatica does not show it again.
{% endhint %}

### 5. Save the application

Save the connected application. Acumatica then generates the **Client ID**.

Use these values to [connect Acumatica to Stacksync](/connectors/acumatica/connect-acumatica-to-stacksync.md):

* Acumatica instance URL
* Client ID
* Client Secret

<figure><img src="/files/M4tmkGfpnn0iPMAbSL5C" alt=""><figcaption></figcaption></figure>

If you have any questions or run into any blockers, reach out anytime at <hello@stacksync.com> and the Stacksync team will be happy to help.
