Install CLI and connect
- Install Database Lab CLI.
- (optional) Connect to Database Lab through SSH port forward
A Database Lab instance might be running behind firewalls when making exclusions for specific ports is impossible or prohibited. SSH keys should be on the server with Database Lab engine in order to use this connection option.
In a separate terminal tab laucnh SSH port forwarding. Use
http://localhost:2344 as URL in a step 3 below.
- Initialize configuration. Use URL and verification token of your instance. Instead of using verification token you can generate and use your personal access token. See details here.
--environment-id- an arbitrary environment ID of Database Lab instance's API.
--url- URL of Database Lab instance's API.
--token- verification token of the Database Lab instance to send API requests.
You can also run
dblab configat any time to change your settings or create a new configuration.
- Test your configuration with instance status request
dblab instance status.