Skip to content

Commit 29716d1

Browse files
committed
docs: on-prem oauth
Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
1 parent 1aeaf2f commit 29716d1

File tree

10 files changed

+290
-12
lines changed

10 files changed

+290
-12
lines changed

content/docs/noco-sync/index.mdx

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,25 +8,27 @@ keywords: ['NocoSync overview', 'NocoDB data sync', 'no-code data integration',
88

99
<Callout type="info">Available on NocoDB Cloud Business plan onwards and Self-Hosted Enterprise Edition.</Callout>
1010

11+
![NocoSync Banner](/img/v2/noco-sync/sync-banner.png)
12+
1113
**NocoSync** is a built-in integration layer in NocoDB that allows you to bring data from external systems directly into your workspace. It keeps your NocoDB tables continuously updated by syncing records from third-party platforms, eliminating the need for manual imports or custom scripts.
1214

13-
The first release introduces support for the **Ticketing** category, enabling you to connect with platforms such as **GitHub, GitLab, Bitbucket, Zendesk, Linear, Freshdesk, and Chatwoot**. Once connected, NocoSync pulls tickets, issues, conversations and related metadata into NocoDB, allowing teams to centralize reporting, automate workflows, and unlock insights across tools.
15+
Current release introduces support for the **Ticketing** category, enabling you to connect with platforms such as **GitHub, GitLab, Bitbucket, Zendesk, Linear, Freshdesk, and Chatwoot**. Once connected, NocoSync pulls tickets, issues, conversations and related metadata into NocoDB, allowing teams to centralize reporting, automate workflows, and unlock insights across tools.
1416

15-
Additional sync categories—such as **CRM** and **File Storage**—will be added in future releases, expanding the types of systems you can bring into NocoDB.
17+
Additional sync categories—such as **CRM** (Customer Relationship Management), **HRIS** (Human Resources Information System, Accounting), **Accounting**, **ATS** (Application Tracking System) and **File Storage**—will be added in future releases, expanding the types of systems you can bring into NocoDB.
1618

1719
NocoSync runs on a simple setup, supports scheduled syncs, and ensures high reliability, so your workspace always reflects the most recent data from your external sources. It is designed to be flexible, scalable, and accessible to both technical and non-technical users.
1820

1921
---
2022

2123
## How Sync Works
2224

23-
NocoSync is designed around **predefined schemas** for each category, such as Ticketing, ensuring a consistent structure across all supported sources. When a sync is configured, NocoSync automatically creates multiple tablessuch as Ticket, User, Comment, and Team. Essential tables are included by default and optional ones can be added based on need. All required relationships between these tables are generated automatically, mirroring the hierarchy and linkages of the connected source system.
25+
NocoSync is designed around **predefined schemas** for each category, such as Ticketing, ensuring a consistent structure across all supported sources. When a sync is configured, NocoSync automatically creates multiple tables (such as _Ticket_, _User_, _Comment_, and _Team_ in case of Ticketing). All required relationships between these tables are generated automatically, mirroring the hierarchy and linkages of the connected source system.
2426

25-
Sync table fields created by NocoSync are **read-only**, as the sync operates strictly one-way—from the source system into NocoDB. Fields that originate from the external source are marked with a flash icon and cannot be removed, and sync tables themselves cannot be deleted. While schemas for each sync category are predefined, the actual fields available may vary by source. Different platforms use different naming conventions or may not expose all fields. NocoSync intelligently maps available fields from the source to the predefined schema to maintain consistency.
27+
Sync table fields created by NocoSync are **read-only**, as the sync operates strictly one-way—from the source system into NocoDB. Fields that originate from the external source are marked with a flash icon (⚡) and cannot be removed, and sync tables themselves cannot be deleted. While schemas for each sync category are predefined, the actual fields available may vary by source. Different platforms use different naming conventions or may not expose all fields. NocoSync intelligently maps available fields from the source to the predefined schema to maintain consistency.
2628

27-
Users can extend sync tables by adding their own **custom fields** or modifying non-sync fields as needed. Beyond the read-only limitations on synced fields, sync tables behave like regular NocoDB tables. They can be shared with collaborators, used in views, and linked to other tables—allowing you to connect synced data with non-sync data for richer workflows and insights.
29+
Users can extend sync tables by adding their own **custom fields** as needed. Beyond the read-only limitations on synced fields, sync tables behave like regular NocoDB tables. They can be shared with collaborators, used in views, and linked to other tables.
2830

29-
Currently, each sync category supports one external source at a time. When multi-source support is introduced, NocoDB will act as a **unified API** layer across all connected systems, allowing you to query, analyze, and build on top of data coming from multiple platforms through a single, consistent interface. This will significantly simplify integrations and expand the power of NocoSync across complex environments.
31+
Currently, each sync category supports one external source at a time. When multi-source support is introduced, NocoDB will act as a **Unified API** layer across all connected systems, allowing you to query, analyze, and build on top of data coming from multiple platforms through a single, consistent interface. This will significantly simplify integrations and expand the power of NocoSync across complex environments.
3032

3133
Standard operations on Sync fields such as filtering, sorting, grouping, and searching are fully supported. You can create views, dashboards, and reports using synced data just like with any other NocoDB table.
3234

@@ -42,7 +44,7 @@ Incremental sync fetches only the records that have been created or updated sinc
4244

4345
### **Full Sync**
4446

45-
Full sync re-imports the entire dataset from the external source during each run. This mode is helpful in scenarios where the underlying data model has changed, historical data needs correction, or the source system does not reliably provide incremental change information. While full sync ensures complete data accuracy, it requires more time and can be resource-intensive—especially for large datasets. It is best used occasionally or in combination with incremental sync after significant schema updates or structural changes in the source system.
47+
Full sync re-imports the entire dataset from the external source during each run. This mode is helpful in scenarios where historical data needs correction, or the source system does not reliably provide incremental change information. While full sync ensures complete data accuracy, it requires more time and can be resource-intensive—especially for large datasets. It is best used occasionally or in combination with incremental sync.
4648

4749

4850
## Sync Trigger
@@ -62,17 +64,17 @@ Scheduled sync automates data updates at regular intervals, ensuring your NocoDB
6264

6365
---
6466

65-
## Source Delete Handling
67+
## Source Record Delete Handling
6668

67-
NocoSync provides control over how deletions from the external source are reflected inside NocoDB. This setting helps you decide whether to maintain historical visibility or keep your tables strictly aligned with the source system.
69+
NocoSync provides control over how record deletions from the external source are reflected inside NocoDB. This setting helps you decide whether to maintain records for historical visibility or keep your tables strictly aligned with the source system.
6870

6971
### **Ignore**
7072

7173
When set to *Ignore*, NocoDB **retains the record** even if it is deleted at the source. Instead of removing it, NocoSync marks the record to indicate that it has been deleted in the external system. This mode is useful when you want to preserve full history, maintain reporting continuity, or avoid breaking dependencies with linked records.
7274

7375
### **Delete**
7476

75-
When set to *Delete*, NocoDB removes records when they are deleted at the source. This option keeps your NocoDB tables fully synchronized and consistent with the external platform.
77+
When set to *Delete*, NocoDB removes records in sync tables when they are deleted at the source. This option keeps your NocoDB tables fully synchronized and consistent with the external platform.
7678

7779
---
7880

@@ -131,4 +133,4 @@ To delete an existing NocoSync integration, open sync tab from base overview pag
131133

132134
<Callout type="warning">Deleting a sync integration is irreversible and will permanently remove all associated sync tables and data from your base. Ensure you have backed up any important information before proceeding.</Callout>
133135

134-
---
136+
---

content/docs/noco-sync/meta.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"title": "NocoSync",
33
"pages": [
4-
"ticketing"
4+
"ticketing",
5+
"on-premise-oauth"
56
]
67
}
Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
---
2+
title: "Bitbucket"
3+
description: "Instructions for setting up Bitbucket authentication integration for NocoDB"
4+
tags: ["Bitbucket", "OAuth2", "Integration"]
5+
keywords: ["Bitbucket OAuth2 setup", "NocoDB Bitbucket integration", "Bitbucket authentication"]
6+
---
7+
8+
<Callout type="info">This page is intended for on-premise enterprise NocoDB installations.</Callout>
9+
10+
This document provides instructions for setting up the Bitbucket authentication integration for NocoDB.
11+
12+
## Environment Variables
13+
14+
To enable OAuth2 authentication with Bitbucket, you need to configure the following environment variables.
15+
16+
---
17+
18+
## Step 1: Create a Bitbucket OAuth Consumer
19+
20+
1. Log in to your Bitbucket account
21+
2. Navigate to Bitbucket Administration **Workspace settings → OAuth consumers**
22+
* (Bitbucket → left sidebar → click your workspace → **Workspace settings****OAuth consumers**)
23+
3. Click on **“Add consumer”**
24+
4. Fill out the form:
25+
26+
* **Name**: Your application name (e.g., "NocoDB")
27+
* **Description**: Brief description of your application
28+
* **Callback URL**:
29+
`https://your-nocodb-instance.com/`
30+
* **Permissions**: Enable:
31+
32+
* **Repositories**: Read & Write
33+
* **Pull requests**: Read & Write
34+
* **Issues**: Read & Write
35+
* **Account**: Read
36+
5. Click **Save**
37+
38+
---
39+
40+
## Step 2: Get Client ID and Client Secret
41+
42+
After creating your OAuth consumer:
43+
44+
1. Bitbucket will display:
45+
46+
* **Key** → Client ID
47+
* **Secret** → Client Secret
48+
2. Copy both values (the Secret is shown **only once**)
49+
3. Store them safely for configuration
50+
51+
---
52+
53+
## Step 3: Set Environment Variables
54+
55+
Configure your NocoDB instance with:
56+
57+
```
58+
INTEGRATION_AUTH_BITBUCKET_CLIENT_ID=your_bitbucket_client_id
59+
INTEGRATION_AUTH_BITBUCKET_CLIENT_SECRET=your_bitbucket_client_secret
60+
INTEGRATION_AUTH_BITBUCKET_REDIRECT_URI=your_redirect_uri
61+
```
62+
63+
Where:
64+
65+
* `your_bitbucket_client_id` → The **Key (Client ID)** from Bitbucket
66+
* `your_bitbucket_client_secret` → The **Secret (Client Secret)**
67+
* `your_redirect_uri` → The callback URL used in the OAuth consumer
68+
(e.g., `https://your-nocodb-instance.com/`)
69+
70+
---
71+
72+
## OAuth Scopes Requested
73+
74+
The integration will request these Bitbucket scopes:
75+
76+
* `repository`
77+
* `repository:write`
78+
* `pullrequest`
79+
* `pullrequest:write`
80+
* `issue`
81+
* `issue:write`
82+
* `account`
83+
84+
These permissions allow NocoDB to read/write repositories, issues, and pull requests as needed.
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
---
2+
title: "GitHub"
3+
description: "Instructions for setting up GitHub authentication integration for NocoDB"
4+
tags: ["GitHub", "OAuth2", "Integration"]
5+
keywords: ["GitHub OAuth2 setup", "NocoDB GitHub integration", "GitHub authentication"]
6+
---
7+
8+
<Callout type="info">This page is intended for on-premise enterprise NocoDB installations.</Callout>
9+
10+
This document provides instructions for setting up the GitHub authentication integration for NocoDB.
11+
12+
## Environment Variables
13+
14+
To enable OAuth2 authentication with GitHub, you need to set up the following environment variables:
15+
16+
### Step 1: Create a GitHub OAuth App
17+
18+
1. Log in to your GitHub account
19+
2. Navigate to Settings > Developer settings > OAuth Apps
20+
3. Click on "New OAuth App"
21+
4. Fill out the form:
22+
23+
- **Application name**: Your application name (e.g., "NocoDB")
24+
- **Homepage URL**: Your application's homepage URL
25+
- **Application description**: (Optional) Brief description of your app
26+
- **Authorization callback URL**: The URL where GitHub will redirect users after authorization (e.g., `https://your-nocodb-instance.com/`)
27+
- **Icon**: (Optional) Upload an icon for your application
28+
29+
5. Click "Register application"
30+
31+
### Step 2: Get Client ID and Client Secret
32+
33+
After registering your OAuth App, you'll be provided with:
34+
35+
- Client ID
36+
- Client Secret (click "Generate a new client secret" to create one)
37+
38+
### Step 3: Set Environment Variables
39+
40+
Configure your NocoDB instance with the following environment variables:
41+
42+
```
43+
INTEGRATION_AUTH_GITHUB_CLIENT_ID=your_github_client_id
44+
INTEGRATION_AUTH_GITHUB_CLIENT_SECRET=your_github_client_secret
45+
INTEGRATION_AUTH_GITHUB_REDIRECT_URI=your_redirect_uri
46+
```
47+
48+
Where:
49+
50+
- `your_github_client_id`: The Client ID from your GitHub OAuth App
51+
- `your_github_client_secret`: The Client Secret from your GitHub OAuth App
52+
- `your_redirect_uri`: The callback URL you specified when creating the OAuth App (e.g., `https://your-nocodb-instance.com/api/v1/integrations/auth/github/callback`)
53+
54+
## OAuth Scopes
55+
56+
This integration requests the following GitHub scopes:
57+
58+
- `read:user`: Read-only access to user profile data
59+
- `repo`: Full control of repositories
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
---
2+
title: "GitLab"
3+
description: "Instructions for setting up GitLab authentication integration for NocoDB"
4+
tags: ["GitLab", "OAuth2", "Integration"]
5+
keywords: ["GitLab OAuth2 setup", "NocoDB GitLab integration", "GitLab authentication"]
6+
---
7+
8+
<Callout type="info">This page is intended for on-premise enterprise NocoDB installations.</Callout>
9+
10+
This document provides instructions for setting up the GitLab authentication integration for NocoDB.
11+
12+
## Environment Variables
13+
14+
To enable OAuth2 authentication with GitLab, you need to set up the following environment variables:
15+
16+
### Step 1: Create a GitLab OAuth Application
17+
18+
1. Log in to your GitLab account
19+
2. Navigate to User Settings > Applications (or for organization-wide application, go to your Group settings > Applications)
20+
3. Fill out the form:
21+
- **Name**: Your application name (e.g., "NocoDB")
22+
- **Redirect URI**: The URL where GitLab will redirect users after authorization (e.g., `https://your-nocodb-instance.com/`)
23+
- **Scopes**: Select the following scopes:
24+
- `api` (API access)
25+
- `read_user` (Read user information)
26+
4. Click "Save application"
27+
28+
### Step 2: Get Application ID and Secret
29+
30+
After creating your OAuth App, you'll be provided with:
31+
- Application ID (Client ID)
32+
- Secret (Client Secret)
33+
34+
### Step 3: Set Environment Variables
35+
36+
Configure your NocoDB instance with the following environment variables:
37+
38+
```
39+
INTEGRATION_AUTH_GITLAB_CLIENT_ID=your_gitlab_client_id
40+
INTEGRATION_AUTH_GITLAB_CLIENT_SECRET=your_gitlab_client_secret
41+
INTEGRATION_AUTH_GITLAB_REDIRECT_URI=your_redirect_uri
42+
```
43+
44+
Where:
45+
- `your_gitlab_client_id`: The Application ID from your GitLab OAuth App
46+
- `your_gitlab_client_secret`: The Secret from your GitLab OAuth App
47+
- `your_redirect_uri`: The callback URL you specified when creating the OAuth App (e.g., `https://your-nocodb-instance.com/`)
48+
49+
## OAuth Scopes
50+
51+
This integration requests the following GitLab scopes:
52+
- `api`: Access to the GitLab API
53+
- `read_user`: Read-only access to user profile data
Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
---
2+
title: "Linear"
3+
description: "Instructions for setting up Linear authentication integration for NocoDB"
4+
tags: ["Linear", "OAuth2", "Integration"]
5+
keywords: ["Linear OAuth2 setup", "NocoDB Linear integration", "Linear authentication"]
6+
---
7+
8+
<Callout type="info">This page is intended for on-premise enterprise NocoDB installations.</Callout>
9+
10+
This document provides instructions for setting up the Linear authentication integration for NocoDB.
11+
12+
## Environment Variables
13+
14+
To enable OAuth2 authentication with Linear, you need to set up the following environment variables:
15+
16+
### Step 1: Create a Linear OAuth App
17+
18+
1. Log in to your Linear account
19+
2. Navigate to Settings > API > OAuth applications (or go directly to https://linear.app/settings/api/applications)
20+
3. Click on "New OAuth application"
21+
4. Fill out the form:
22+
- **Application Name**: Your application name (e.g., "NocoDB")
23+
- **Developer Name**: The person or company developing this application (e.g., "NocoDB")
24+
- **Developer URL**: Homepage or documentation for your application (e.g., "https://nocodb.com/")
25+
- **Description**: Brief description of your application
26+
- **Callback URIs**: The URL where Linear will redirect users after authorization (e.g., `https://your-nocodb-instance.com/`)
27+
- **Enable “Public”**: Turn ON to allow all Linear workspaces to authorize
28+
- **Icon**: (Optional) Upload an icon for your application
29+
5. Click "Create"
30+
31+
### Step 2: Get Client ID and Client Secret
32+
33+
After creating your OAuth application:
34+
1. You'll be shown the Client ID and Client Secret
35+
2. Copy these values as they will be needed for configuration
36+
37+
### Step 3: Set Environment Variables
38+
39+
Configure your NocoDB instance with the following environment variables:
40+
41+
```
42+
INTEGRATION_AUTH_LINEAR_CLIENT_ID=your_linear_client_id
43+
INTEGRATION_AUTH_LINEAR_CLIENT_SECRET=your_linear_client_secret
44+
INTEGRATION_AUTH_LINEAR_REDIRECT_URI=your_redirect_uri
45+
```
46+
47+
Where:
48+
- `your_linear_client_id`: The Client ID from your Linear OAuth App
49+
- `your_linear_client_secret`: The Client Secret from your Linear OAuth App
50+
- `your_redirect_uri`: The redirect URI you specified when creating the OAuth App (e.g., `https://your-nocodb-instance.com/api/v1/integrations/auth/linear/callback`)
51+
52+
## API Key Authentication
53+
54+
If you're using API Key authentication instead of OAuth:
55+
56+
1. Log in to your Linear account
57+
2. Navigate to Settings > API > Personal API keys (or go directly to https://linear.app/settings/api)
58+
3. Under "Personal API keys", enter a name for your key
59+
4. Click "Create key"
60+
5. Copy the generated API key (you won't be able to see it again)
61+
62+
You'll need to provide this API key when configuring the integration with the API Key authentication method.
63+
64+
## OAuth Scopes
65+
66+
This integration requests the following Linear scopes:
67+
- `read`: Read access to workspace data
68+
- `write`: Write access to workspace data
69+
70+
These scopes allow the integration to read and modify issues, projects, and other data in your Linear workspace.
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"title": "On Premise Auth Integration",
3+
"pages": [
4+
"bitbucket",
5+
"github",
6+
"gitlab",
7+
"linear"
8+
]
9+
}
2.78 MB
Loading
-31.4 KB
Loading
-36.1 KB
Loading

0 commit comments

Comments
 (0)