Skip to main content

Setting up CockroachDB

1. Add integration

Select CockroachDB from the integrations page.

2. Configure settings

Fill out the form with the following settings:
SettingRequiredDescription
NameName that will be displayed to users when selecting this integration in Superblocks
HostHostname or IP address to connect to
PortPort to use when connecting to CockroachDB
Database NameName of database to connect to
Database UsernameUsername to use to connect
Database PasswordPassword for database username
Enable SSLConnect via SSL if selected
Use a self-signed SSL certificateProvide Server CA, Client Key, and Client Cert if selected

3. Test and save

Click Test Connection to check that Superblocks can connect to the data source.
If using Superblocks Cloud, add these Superblocks IPs to your allowlist (not necessary for Hybrid or Cloud-Prem deployments).
After connecting successfully, click Create to save the integration.

4. Set profiles

Optionally, configure different profiles for separate development environments.
CockroachDB connected!
Now you can use CockroachDB in any Application, Workflow, or Scheduled Job.

Creating CockroachDB steps

Connect to your CockroachDB integration from Superblocks by creating steps in Application APIs, Workflows and Scheduled Jobs. You can configure a Superblocks CockroachDB integration with read only, read/write, or write only users. You can then configure a Superblocks CockroachDB step to read from a database, as well as modify/delete data. To get started, enter your SQL query into the text area of the CockroachDB step. Then click “Run” to see the Result and Executed SQL statement below.
See the results of a CockroachDB query

Troubleshooting

Check out our guide on common errors across database integrations, in addition to CockroachDB’s troubleshooting guide. If you are encountering an error that you don’t see in the guide, or the provided steps are insufficient to resolve the error, please contact us at [email protected].