Connect a Cloud Provider

Follow these steps to set up a connection to a cloud provider.

Add

Click on the “Add Connection” icon in the DBCode extension.

Add Connection

Select

Choose a cloud provider from the right-hand side.

Select Provider

For this guide, we will use the Turso provider, but the process is the same across all providers.

Click “Add”

Name

Enter a name for the connection. This name will be displayed in the DBCode Explorer. You can connect to the same provider multiple times, for example, if you have separate production and development accounts.

Enter Name

Use

Expand the provider in the DBCode Explorer.

Use

The first time you do this, the provider will prompt you for authentication details, which vary by provider.

Credentials

Refer to the detailed information in this section for specific requirements for each provider.

Access Your Databases

Navigate through the projects and databases within the provider to access your databases.

Navigate

You can now run queries, manage data, and utilize all the features of the DBCode extension with your cloud provider’s databases.

Security

The credentials you enter for a cloud provider are stored in the Visual Studio Code secret storage facility and are not synced across Visual Studio Code instances, ensuring they remain only on your computer.