PostgreSQL
You will need the following information to create the connection:
- Database host
- Database port (default: 5432)
- Database name
- Username & password
By default, Noteable attempts to connect to PostgreSQL over SSL (default: Prefer). The options available are:
- Prefer: first try an SSL connection; if that fails, try a non-SSL connection.
- Require: only try an SSL connection.
- Allow: first try a non-SSL connection; if that fails, try an SSL connection.
- Verify-ca: only try an SSL connection and the server is verified by checking the certificate chain up to the root certificate stored on the client.
- Verify-full: only try an SSL connection and the server is verified by checking the certificate chain up to the root certificate stored on the client and libpq will verify that the server hostname matches its certificate.
- Disable: use a non-SSL connection.
If your data source is behind a firewall, you will need to ensure your firewall accepts incoming connections from Noteable. Read more here.
To create a data connection:
- 1.Pick connection type.
- 2.Store credentials.
- 3.Start or restart the kernel.
There are multiple places you can create data connections:
Notebook
Resources page
To add a data connection from the notebook:
- 1.Open the Data Connections panel by clicking on the database icon () in the left sidebar.
- 2.Click on thesign to launch the Create a data connection modal.
- 3.Select PostgreSQL for the connection type.
- 4.Provide a Name for the data connection and a description, if desired.
- 5.Provide your database server as the Host.
- 6.Configure the port value, if necessary.
- 7.Provide your username & password.
- 8.Provide the database name (default: default).
- 9.Choose SSL configuration, if desired.
- 10.
- Private connections can only be seen, managed, or accessed by the user who created the connections, and can be used in any space.
- Space-level connections can be seen and managed by all users who have Contributor or Owner access for the space but can only be used in notebooks within the designated space.
- 11.Click Create.
- 12.Restart the kernel, if prompted.
To add a data connection from the resources page:
- 1.Click on the Data Connections link in the main sidebar. This sidebar is visible from all space or project pages.
- 2.Click on the +Create a data connection button to launch the Add data connection modal.
- 3.Select PostgreSQL for the connection type.
- 4.Provide a Name for the data connection and a description, if desired.
- 5.Provide your database server as the Host.
- 6.Configure the port value, if necessary.
- 7.Provide your username & password.
- 8.Provide the database name (default: default).
- 9.Choose SSL configuration, if desired.
- 10.
- Private connections can only be seen, managed, or accessed by the user who created the connections, and can be used in any space.
- Space-level connections can be seen and managed by all users who have Contributor or Owner access for the space but can only be used in notebooks within the designated space.
- 11.Click Create.
- 12.Restart any running kernels to use this connection.
Last modified 3mo ago