Connect to the cluster
After creating a free cluster, the easiest way to connect to it is to use the cloud shell.
The cloud shell allows you to connect to and interact with your Yugabyte Cloud cluster from your browser. You have the option of using the following CLIs in the cloud shell:
- ysqlsh - YSQL shell for interacting with YugabyteDB using the YSQL API
- ycqlsh - YCQL shell, which uses the YCQL API
Connect to your cluster using the cloud shell
ysqlsh to create and manage YugabyteDB databases and tables in your Yugabyte Cloud cluster, do the following:
On the Clusters page, ensure your cluster is selected.
Click Connect to display the Connect to Cluster dialog.
Under Cloud Shell, click Launch Cloud Shell.
Enter the database name (
yugabyte), the user name (
admin), select the YSQL API and click Confirm.
The cloud shell opens in a separate browser window. Cloud shell can take up to 30 seconds to be ready.
Password for user admin:
Enter the password for the admin user that you saved when you created the cluster.
ysqlsh shell prompt appears and is ready to use.
ysqlsh (11.2-YB-188.8.131.52-b0) SSL connection (protocol: TLSv1.2, cipher: ECDHE-RSA-AES256-GCM-SHA384, bits: 256, compression: off) Type "help" for help. yugabyte=#
For information on other ways to connect to your cluster, refer to Connect to clusters.