> 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/rillet/authorize-dynamics-365-f-and-o.md).

# Authorize Rillet Connection

### 1. Generate an API Key in [Rillet](https://app.rillet.io/)

1. Login to [Rillet](https://app.rillet.io/) App
2. Navigate to **Organization Setting** -> **API Access**

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

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

3. Click on **Create new API key**
4. Enter a name for the API Key

**a. Enable full access (read/write):** Uncheck Read Only to allow bidirectional sync.

**b. Enable read-only access:** Check Read Only for one-way sync.

5\. Copy the secret key generated.

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

### 2. Create a Connection in [Stacksync](https://app.stacksync.com/) App

1. Click **Create Resource**
2. Select **Syncs**
3. Choose the **Rillet connector**

<figure><img src="/files/2v4ViRkbuwpD3vegUF7A" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/6cSAXZLhukFNB1HvPdfZ" alt=""><figcaption></figcaption></figure>

This opens the authorization flow.

### 3. Complete the Connection Setup

1. Provide the **Rillet API key** generated in Step 1.
2. Follow the on-screen steps to finalize the connection

<figure><img src="/files/f8Hej08OxFg4EWjeQ9F0" 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.
