> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stackone.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Connect Bill.com with Sync Token – StackOne Hub

> Link a Bill.com account in the StackOne Hub using Sync Token. End-user guide to authorize the integration and start using Bill.com actions.

> [!WARNING]
>
> A sync token cannot do everything a password sign-in can. BILL blocks these on this connection: creating or cancelling payments, sending invoices, reading, creating or deleting vendor bank accounts, and creating bank accounts. You also cannot turn on bill approvals when creating or updating bills. BILL allows bills, bulk bills, bill documents, vendors, customers, invoices and classifications on this connection.

## Create a sync token

A sync token belongs to the BILL organization you create it in. To connect another organization, create a token there and connect it as a separate account.

**1. Sign in to the BILL web app**

Open the sign-in page for your environment.

<ul>
  <li>**Production**: [BILL production sign-in](https://login.us.bill.com/neo/login)</li>
  <li>**Sandbox**: [BILL sandbox sign-in](https://login.stage.us.bill.com/neo/login)</li>
  <li>Select the matching environment (Production or Sandbox) when you connect the account in StackOne Hub.</li>
</ul>

![BILL sign-in page](https://mintcdn.com/stackone-60/qh74yE-DdZDhCo-d/connectors/bill/images/custom-config-sign-in.png?fit=max\&auto=format\&n=qh74yE-DdZDhCo-d\&q=85\&s=53bf20d7c1ab47324666bbadd872e759)

**2. Create the token**

In the left navigation, open **Settings** > **Sync & Integrations** > **Tokens**.

<ul>
  <li>Click **NEW**.</li>
  <li>**NAME**: `StackOne`. Copy it across into **Sync Token Name**.</li>
  <li>Click **SAVE**.</li>
  <li>Copy the generated **Sync Token** across.</li>
</ul>

![Expanded Sync and Integrations section showing App Center, Manage Developer Keys and Tokens](https://mintcdn.com/stackone-60/qh74yE-DdZDhCo-d/connectors/bill/images/custom-config-manage-developer-keys-menu.png?fit=max\&auto=format\&n=qh74yE-DdZDhCo-d\&q=85\&s=1de53da3916bb4744472b2c7eb3d7600)

## Generate and copy the Developer Key

The **Developer Key** identifies your integration to BILL.

**1. Generate the key**

In the left navigation, open **Settings** > **Sync & Integrations** > **Manage Developer Keys**. If the table already lists a key, skip this step and copy that one.

<ul>
  <li>Click **Generate developer key**.</li>
  <li>Tick **I agree to the BILL developer terms of service.**</li>
  <li>Click **Generate key**.</li>
  <li>It takes up to a minute for BILL to generate the key. Click **Reload page** after a few moments to see it.</li>
</ul>

![Generate developer key dialog with the terms of service checkbox and Generate key button highlighted](https://mintcdn.com/stackone-60/qh74yE-DdZDhCo-d/connectors/bill/images/custom-config-terms-dialog.png?fit=max\&auto=format\&n=qh74yE-DdZDhCo-d\&q=85\&s=8ededc1ed29a0540ef87248aa5d499b2)

**2. Copy the Developer Key**

The key is masked in the **Developer key** column.

<ul>
  <li>Click the eye icon (**Show developer key**).</li>
  <li>Copy the **Developer Key** across.</li>
</ul>

![Developer keys table with the masked key value, its reveal control and the Rename button highlighted](https://mintcdn.com/stackone-60/qh74yE-DdZDhCo-d/connectors/bill/images/custom-config-copy-developer-key.png?fit=max\&auto=format\&n=qh74yE-DdZDhCo-d\&q=85\&s=09c3346335cb051a574f85d69dd697ed)

## Retrieve the Organization ID

The **Organization ID** tells BILL which organization to sign in to. It is on the same page.

**1. Copy the Organization ID**

Scroll to the bottom of the **Manage Developer Keys** page. The value after **Organization ID:** is your organization identifier. Copy it across.

<ul>
  <li>Format: `008` followed by 17 alphanumeric characters</li>
</ul>

![Bottom of the Manage Developer Keys page with the Organization ID line highlighted](https://mintcdn.com/stackone-60/qh74yE-DdZDhCo-d/connectors/bill/images/custom-config-organization-id.png?fit=max\&auto=format\&n=qh74yE-DdZDhCo-d\&q=85\&s=f1ce6d1517ffe1dc9f594ad0a36afc01)

## Link the Account

**1. Connect**

<ul>
  <li>Click **Connect**.</li>
  <li>If applicable, the provider will redirect you to a sign-in or authorization page. Complete the provider's authorization flow.</li>
  <li>Once authorization is successful, you will see a confirmation popup.</li>
</ul>

**2. Use Actions**

Connect an AI platform to the linked account's actions. See [AI Platforms](https://docs.stackone.com/connect/ai-platforms/overview.md).

Other ways to call actions are listed in [Protocols & SDKs](https://docs.stackone.com/connect/protocols-and-sdks.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.