mirror of
https://github.com/nocodb/nocodb.git
synced 2026-05-03 08:27:11 +00:00
4.5 KiB
4.5 KiB
title, description, tags
| title | description | tags | ||
|---|---|---|---|---|
| Data sources overview | NocoDB Data-Source sync, access control & re-config |
|
Overview
NocoDB allows you to connect to external data sources and get a unified spreadsheet view of your data. Activities related to external data sources can be managed from Data Sources tab in Base dashboard.
Data Sources tab includes following functionalities
- Connect/manage external data source
- UI Access Control
- Relations
- Audit logs
:::info Currently only one external data source can be added per project. :::
Accessing Data Sources
- Access Base context menu by clicking on the
Basename in the left sidebar - Click on
Data Sourcestab
Sync Metadata
- Access Base context menu by clicking on the
Basename in the left sidebar - Click on
Data Sourcestab - Click on
Sync Metadatabutton listed underActionscolumn for the data source that you wish to sync metadata for - [Optional] Click on
Reloadbutton to refresh Sync state. - Any changes to the metadata identified will be listed in the
Sync Statecolumn - Click on
Sync Nowbutton to sync the metadata changes
After the sync is complete, you can see the updated state in the Sync State column. Sync modal also marks Tables metadata is in Sync in the header.
UI Access Control
- Access Base context menu by clicking on the
Basename in the left sidebar - Click on
Data Sourcestab - Click on
UI ACLbutton listed underActionscolumn for the data source that you wish to manage UI access control for - On the UI ACL modal, you can see the list of tables available in the data source as rows & roles available as columns. Toggle checkboxes to enable/disable access to tables for specific roles.
- Click on
Savebutton to save the changes
Audit logs
- Access Base context menu by clicking on the
Basename in the left sidebar - Click on
Data Sourcestab - Click on
Auditbutton listed underActionscolumn for the data source that you wish to access Audit logs for
Relations
- Access Base context menu by clicking on the
Basename in the left sidebar - Click on
Data Sourcestab - Click on
Relationsbutton listed underActionscolumn for the data source that you wish to access ERD (Relations view) for
Junction table names within Relations
- Enable
Show M2M TableswithinProject Settingsmenu - Double-click on
Show Columnsto see additional checkboxes get enabled.- Enabling which you should be able to see junction tables and their table names.
Edit external database configuration parameters
- Access Base context menu by clicking on the
Basename in the left sidebar - Click on
Data Sourcestab - Click on
Editicon listed underActionscolumn for the data source that you wish to access ERD (Relations view) for Go toData Sources, clickEditicon, you can re-configure database credentials.
Please make sure database configuration parameters are valid. Any incorrect parameters could lead to schema loss!
Unlink data source
- Access Base context menu by clicking on the
Basename in the left sidebar - Click on
Data Sourcestab - Click on
Deleteicon listed underActionscolumn for the data source that you wish to Unlink
Data source visibility
- Access Base context menu by clicking on the
Basename in the left sidebar - Click on
Data Sourcestab - Toggle radio button listed under
Visibilitycolumn for the data source that you wish to hide/un-hide












