> ## 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 OAuth 2.0 (Client Credentials) – StackOne Hub

> Link a Bill.com account in the StackOne Hub using OAuth 2.0 (Client Credentials). End-user guide to authorize the integration and start using Bill.com actions.

> [!WARNING]
>
> You need an admin role in at least one BILL product to create a developer app. The access scope cannot be changed after the app is created. **Accounting data access** blocks creating, cancelling or voiding payments, archiving bills and invoices, sending invoices, creating bank accounts, and vendor bank accounts. Choose **Full access** to use every action on this connection.

## Create a developer app

A developer app belongs to the BILL organization you create it in. To connect another organization, create an app 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>

**2. Create the app**

In the upper-right corner, select your **Profile** icon > **Connected apps**.

<ul>
  <li>Select **Create app**.</li>
  <li>Select the access scope. **Full access** requires MFA with the phone number entered during BILL sign-up.</li>
  <li>Select the terms of service check box.</li>
  <li>Select **Create app**.</li>
</ul>

## Copy the client credentials

BILL generates the client ID and client secret when the app is created.

**1. Copy the Client ID and Client Secret**

Copy the **Client ID** and **Client Secret** across. The client secret is shown only once and cannot be retrieved after the window is closed.

## 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/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.