> ## 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 Zoho Bigin with OAuth 2.0 (Self Client) – StackOne Hub

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

> [!WARNING]
>
> Any Bigin user can create the Self Client and generate its code; no Administrator profile is needed to set it up. StackOne then acts as that user in the one Bigin organization picked when the code is generated, so the user's profile limits what StackOne can read and change. Adding, updating and deleting users needs the Administrator profile. Keep the Client Secret and the refresh token private.

Select Actions to adjust the guideSome actions may require additional configuration in the provider to be accessible. Choose the actions you need and the guide will be updated.

Select all
Clear

ActionScope(s)

Loading actions...No actions match your search.

Dynamic Guide URL

Copy URL

Scopes Selected

<pre role="textbox" aria-readonly="true" tabIndex="0" />

Separator

Copy scopes

## Create the Self Client

The Self Client is a Zoho app that belongs to your own Zoho account and needs no browser sign-in.

**1. Open the Self Client**

Sign in to the Zoho API Console for your data center, for example the [Zoho API Console (US)](https://api-console.zoho.com) or the [Zoho API Console (India)](https://api-console.zoho.in).

<ul>
  <li>If **Self Client** is already under **Applications**, click it.</li>
  <li>Otherwise click **ADD CLIENT**.</li>
  <li>Click **CREATE NOW** on the **Self Client** card.</li>
  <li>Confirm the new client.</li>
</ul>

![The Applications list in the Zoho API Console with the Self Client entry and ADD CLIENT highlighted](https://mintcdn.com/stackone-60/vWegVp02aFgwqKOQ/connectors/zohobigin/images/oauth2-self-client-config-applications.png?fit=max\&auto=format\&n=vWegVp02aFgwqKOQ\&q=85\&s=bdd84286ab96fe196260c80bc33d1024)

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

Open the **Client Secret** tab of the Self Client.

<ul>
  <li>Click the copy icon next to **Client ID** to copy it across.</li>
  <li>Click the copy icon next to **Client Secret** to copy it across.</li>
</ul>

![The Client Secret tab with the copy icons next to Client ID and Client Secret highlighted](https://mintcdn.com/stackone-60/vWegVp02aFgwqKOQ/connectors/zohobigin/images/oauth2-self-client-config-client-secret.png?fit=max\&auto=format\&n=vWegVp02aFgwqKOQ\&q=85\&s=fcc0d9cb9e4c3a0a399b74b484c8bd7e)

## Get a refresh token

Enter a refresh token, not the code from the **Generate Code** tab. You turn the code into a refresh token once.

**1. Fill in the Generate Code form**

Enables actions: Add Records, Add Tags, Add Tags To Records, Add User, Change Record Owner, Check User Access, Create Bulk Read Job, Create Bulk Write Job, Delete Profile Photo, Delete Records, Delete Tags, Delete User, Delink Related Records, Disable Notifications, Download Bulk Read Result, Download Bulk Write Result, Download Profile Photo, Enable Notifications, Get Bulk Read Job Details, Get Bulk Write Job Details, Get Custom View, Get Custom Views, Get Deleted Records, Get Fields, Get Files, Get From Addresses, Get Layouts, Get Module, Get Modules, Get Notification Details, Get Organization, Get Profiles, Get Record, Get Records, Get Records (COQL), Get Records Count, Get Related Lists, Get Related Records, Get Roles, Get Team Pipeline Records, Get Team Pipeline Records Related To Contact, Get Unified Credentials, Get Unified Role, Get Unified User, List Unified Roles, List Unified Users, Remove Tags From Records, Search Records, Send Mail, Update Notification Details, Update Notification Info, Update Records, Update Related Records, Update Specific User, Update Tags, Update Users, Upload Bulk Write File, Upload Files, Upload Organization Image, Upload Profile Photo, Upsert Records

Open the **Generate Code** tab of the Self Client.

<ul>
  <li>**Scope**: each scope listed, separated by commas</li>
  <li>**Code expiry duration**: **10 minutes**</li>
  <li>**Description**: `Integration with StackOne`</li>
  <li>Click **CREATE**.</li>
</ul>

![The Generate Code tab with the Scope, Code expiry duration and Description fields and the CREATE button highlighted](https://mintcdn.com/stackone-60/vWegVp02aFgwqKOQ/connectors/zohobigin/images/oauth2-self-client-config-generate-code.png?fit=max\&auto=format\&n=vWegVp02aFgwqKOQ\&q=85\&s=b67f14e73311d1bb2225f7fd609f4fb2)

<ul>
  <li>
    ZohoBigin.users.ALL
  </li>

  <li>
    ZohoBigin.settings.roles.READ
  </li>

  <li>
    ZohoBigin.settings.profiles.READ
  </li>

  <li>
    ZohoBigin.org.READ
  </li>

  <li>
    ZohoBigin.org.CREATE
  </li>

  <li>
    ZohoBigin.modules.ALL
  </li>

  <li>
    ZohoBigin.coql.READ
  </li>

  <li>
    ZohoBigin.settings.modules.READ
  </li>

  <li>
    ZohoBigin.settings.fields.READ
  </li>

  <li>
    ZohoBigin.settings.layouts.READ
  </li>

  <li>
    ZohoBigin.settings.related\_lists.READ
  </li>

  <li>
    ZohoBigin.settings.custom\_views.READ
  </li>

  <li>
    ZohoBigin.settings.tags.ALL
  </li>

  <li>
    ZohoBigin.settings.emails.READ
  </li>

  <li>
    ZohoBigin.send\_mail.all.CREATE
  </li>

  <li>
    ZohoBigin.change\_owner.CREATE
  </li>

  <li>
    ZohoBigin.bulk.ALL
  </li>

  <li>
    ZohoFiles.files.ALL
  </li>

  <li>
    ZohoBigin.files.CREATE
  </li>

  <li>
    ZohoBigin.files.READ
  </li>

  <li>
    ZohoBigin.notifications.ALL
  </li>
</ul>

**2. Select your Bigin organization**

Zoho shows **Select Portal**.

<ul>
  <li>Click **Bigin**.</li>
  <li>Under **Production**, select your Bigin organization. StackOne can only reach this organization.</li>
  <li>Click **CREATE**.</li>
</ul>

![The Select Portal screen with Bigin, the organization and the CREATE button highlighted](https://mintcdn.com/stackone-60/vWegVp02aFgwqKOQ/connectors/zohobigin/images/oauth2-self-client-config-select-portal.png?fit=max\&auto=format\&n=vWegVp02aFgwqKOQ\&q=85\&s=4875da904640f66dd83c31b9c257c6c2)

**3. Copy the code**

Zoho shows the **Generated Code**.

<ul>
  <li>Click **COPY**.</li>
  <li>The code works once, and only for the time you selected in **Code expiry duration**.</li>
  <li>The code is only displayed in this window and cannot be retrieved later. To keep a copy, click **DOWNLOAD**.</li>
</ul>

![The Generated Code window with the COPY button highlighted](https://mintcdn.com/stackone-60/vWegVp02aFgwqKOQ/connectors/zohobigin/images/oauth2-self-client-config-generated-code.png?fit=max\&auto=format\&n=vWegVp02aFgwqKOQ\&q=85\&s=7ed3cd8d1093796d3c915efb3435add7)

**4. Request the refresh token**

Before the code expires, send it to the Zoho token endpoint of your data center. Replace `zoho.com` with your data center domain, such as `zoho.eu` or `zoho.in`, and fill in your own values:

```bash theme={null}
curl -X POST "https://accounts.zoho.com/oauth/v2/token" \
  -d "grant_type=authorization_code" \
  -d "client_id=YOUR_CLIENT_ID" \
  -d "client_secret=YOUR_CLIENT_SECRET" \
  -d "code=YOUR_CODE"
```

<ul>
  <li>Copy the `refresh_token` value from the response across.</li>
  <li>The refresh token has no expiry, so you do this only once.</li>
</ul>

## Revoke access

To stop StackOne from using your Bigin account, delete the Self Client in the Zoho API Console.

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

## Next Steps

> [card] [Webhooks setup](https://docs.stackone.com/connectors/zohobigin/guides/webhook-setup.md)
>
> Configure receiving Events for Zoho Bigin into StackOne.


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