3.7 KiB
title | description |
---|---|
Dashboard | Accessing the Dashboard! |
Setup Your First Super Admin
Once you have started NocoDB, you can visit the dashboard via example.com
. You will be redirected to example.com/#/signup
.
Enter your work email and your password.
:::note
Your password has at least 8 letters. No other constraints on case, numbers or special characters.
:::
Initialize Your First Project
Once you have logged into NocoDB, you should see My Projects
.
To create a new project, you can click New Project
.
You need to specify the project name. The data will be stored in NC_DB
. If it is not specified, a local SQLite will be created and used.
:::note
NC_DB is an environment variable used to store the meta data in the given database.
:::
Connecting to External Database
Click on three-dot menu adjacent to BASES
. Pick required database option from the menu Connect to new datasource
.
:::tip
If you are running NocoDB on Docker and your local DB is running on your host machine, your Host Address would be host.docker.internal instead of localhost.
:::
Above menu is also accessible from Team & Settings
> Data Sources
. Click on New
button to add existing database.
You need to specify the project name, API type, and other database parameters.
Currently it supports MySQL, Postgres, MSSQL and SQLite.
You can also configure associated SSL & advanced parameters.
:::tip
You can click Edit Connection JSON and modify SSL settings in "ssl".
:::
{
"client": "pg",
"connection": {
"host": "<YOUR_HOST>",
"port": "5432",
"user": "<YOUR_DB_USER>",
"password": "<YOUR_DB_PASSWORD>",
"database": "<YOUR_DB_NAME>",
"ssl": {
"require": true,
"rejectUnauthorized": false,
"sslMode": "no-verify"
}
}
}
:::tip
You can click Edit Connection JSON and specify the schema you want to use in "searchPath".
:::
{
"client": "pg",
"connection": {
...
},
"searchPath": [ "<YOUR_TARGET_SCHEMA>" ]
}
Click Test Database Connection
to see if the connection can be established or not. NocoDB creates a new empty database with specified parameters if the database doesn't exist.