+
+
+1. Navigate to the [**Clusters**](https://tidbcloud.com/console/clusters) page, and then click the name of your target cluster to go to its overview page.
+
+2. Click **Connect** in the upper-right corner. A connection dialog is displayed.
+
+3. Ensure the configurations in the connection dialog match your operating environment.
+
+ - **Endpoint Type** is set to `Public`.
+ - **Connect With** is set to `General`.
+ - **Operating System** matches your environment.
+
+ > **Tip:**
+ >
+ > If your VS Code is running on a remote development environment, select the remote operating system from the list. For example, if you are using Windows Subsystem for Linux (WSL), switch to the corresponding Linux distribution. This is not necessary if you are using GitHub Codespaces.
+
+4. Click **Create password** to create a random password.
+
+ > **Tip:**
+ >
+ > If you have created a password before, you can either use the original password or click **Reset password** to generate a new one.
+
+5. Launch VS Code and select the **SQLTools** extension on the navigation pane. Under the **CONNECTIONS** section, click **Add New Connection** and select **TiDB** as the database driver.
+
+ ![VS Code SQLTools: add new connection](/media/develop/vsc-sqltools-add-new-connection.jpg)
+
+6. In the setting pane, configure the following connection parameters:
+
+ - **Connection name**: give this connection a meaningful name.
+ - **Connection group**: (optional) give this group of connections a meaningful name. Connections with the same group name will be grouped together.
+ - **Connect using**: select **Server and Port**.
+ - **Server Address**: enter the `host` parameter from the TiDB Cloud connection dialog.
+ - **Port**: enter the `port` parameter from the TiDB Cloud connection dialog.
+ - **Database**: enter the database that you want to connect to.
+ - **Username**: enter the `user` parameter from the TiDB Cloud connection dialog.
+ - **Password mode**: select **SQLTools Driver Credentials**.
+ - In the **MySQL driver specific options** area, configure the following parameters:
+
+ - **Authentication Protocol**: select **default**.
+ - **SSL**: select **Enabled**. TiDB Serverless requires a secure connection. In the **SSL Options (node.TLSSocket)** area, configure the **Certificate Authority (CA) Certificate File** field as the `ssl_ca` parameter from the TiDB Cloud connection dialog.
+
+ > **Note:**
+ >
+ > If you are running on Windows or GitHub Codespaces, you can leave **SSL** blank. By default SQLTools trusts well-known CAs curated by Mozilla. For more information, see [TiDB Serverless root certificate management](https://docs.pingcap.com/tidbcloud/secure-connections-to-serverless-clusters#root-certificate-management).
+
+ ![VS Code SQLTools: configure connection settings for TiDB Serverless](/media/develop/vsc-sqltools-connection-config-serverless.jpg)
+
+7. Click **TEST CONNECTION** to validate the connection to the TiDB Serverless cluster.
+
+ 1. In the pop-up window, click **Allow**.
+ 2. In the **SQLTools Driver Credentials** dialog, enter the password you created in step 4.
+
+ ![VS Code SQLTools: enter password to connect to TiDB Serverless](/media/develop/vsc-sqltools-password.jpg)
+
+8. If the connection test is successful, you can see the **Successfully connected!** message. Click **SAVE CONNECTION** to save the connection configuration.
+
+
+
+
+1. Navigate to the [**Clusters**](https://tidbcloud.com/console/clusters) page, and then click the name of your target cluster to go to its overview page.
+
+2. Click **Connect** in the upper-right corner. A connection dialog is displayed.
+
+3. Click **Allow Access from Anywhere**.
+
+ For more details about how to obtain the connection string, refer to [TiDB Dedicated standard connection](https://docs.pingcap.com/tidbcloud/connect-via-standard-connection).
+
+4. Launch VS Code and select the **SQLTools** extension on the navigation pane. Under the **CONNECTIONS** section, click **Add New Connection** and select **TiDB** as the database driver.
+
+ ![VS Code SQLTools: add new connection](/media/develop/vsc-sqltools-add-new-connection.jpg)
+
+5. In the setting pane, configure the following connection parameters:
+
+ - **Connection name**: give this connection a meaningful name.
+ - **Connection group**: (optional) give this group of connections a meaningful name. Connections with the same group name will be grouped together.
+ - **Connect using**: select **Server and Port**.
+ - **Server Address**: enter the `host` parameter from the TiDB Cloud connection dialog.
+ - **Port**: enter the `port` parameter from the TiDB Cloud connection dialog.
+ - **Database**: enter the database that you want to connect to.
+ - **Username**: enter the `user` parameter from the TiDB Cloud connection dialog.
+ - **Password mode**: select **SQLTools Driver Credentials**.
+ - In the **MySQL driver specific options** area, configure the following parameters:
+
+ - **Authentication Protocol**: select **default**.
+ - **SSL**: select **Disabled**.
+
+ ![VS Code SQLTools: configure connection settings for TiDB Dedicated](/media/develop/vsc-sqltools-connection-config-dedicated.jpg)
+
+6. Click **TEST CONNECTION** to validate the connection to the TiDB Dedicated cluster.
+
+ 1. In the pop-up window, click **Allow**.
+ 2. In the **SQLTools Driver Credentials** dialog, enter the password of the TiDB Dedicated cluster.
+
+ ![VS Code SQLTools: enter password to connect to TiDB Dedicated](/media/develop/vsc-sqltools-password.jpg)
+
+7. If the connection test is successful, you can see the **Successfully connected!** message. Click **SAVE CONNECTION** to save the connection configuration.
+
+
+
+
+1. Launch VS Code and select the **SQLTools** extension on the navigation pane. Under the **CONNECTIONS** section, click **Add New Connection** and select **TiDB** as the database driver.
+
+ ![VS Code SQLTools: add new connection](/media/develop/vsc-sqltools-add-new-connection.jpg)
+
+2. In the setting pane, configure the following connection parameters:
+
+ - **Connection name**: give this connection a meaningful name.
+ - **Connection group**: (optional) give this group of connections a meaningful name. Connections with the same group name will be grouped together.
+ - **Connect using**: select **Server and Port**.
+ - **Server Address**: enter the IP address or domain name of your TiDB Self-Hosted cluster.
+ - **Port**: enter the port number of your TiDB Self-Hosted cluster.
+ - **Database**: enter the database that you want to connect to.
+ - **Username**: enter the username to use to connect to your TiDB Self-Hosted cluster.
+ - **Password mode**:
+
+ - If the password is empty, select **Use empty password**.
+ - Otherwise, select **SQLTools Driver Credentials**.
+
+ - In the **MySQL driver specific options** area, configure the following parameters:
+
+ - **Authentication Protocol**: select **default**.
+ - **SSL**: select **Disabled**.
+
+ ![VS Code SQLTools: configure connection settings for TiDB Self-Hosted](/media/develop/vsc-sqltools-connection-config-self-hosted.jpg)
+
+3. Click **TEST CONNECTION** to validate the connection to the TiDB Self-Hosted cluster.
+
+ If the password is not empty, click **Allow** in the pop-up window, and then enter the password of the TiDB Self-Hosted cluster.
+
+ ![VS Code SQLTools: enter password to connect to TiDB Self-Hosted](/media/develop/vsc-sqltools-password.jpg)
+
+4. If the connection test is successful, you can see the **Successfully connected!** message. Click **SAVE CONNECTION** to save the connection configuration.
+
+
+
+
+## Next steps
+
+- Learn more usage of Visual Studio Code from [the documentation of Visual Studio Code](https://code.visualstudio.com/docs).
+- Learn more usage of VS Code SQLTools extension from [the documentation](https://marketplace.visualstudio.com/items?itemName=mtxr.sqltools) and [GitHub repository](https://github.com/mtxr/vscode-sqltools) of SQLTools.
+- Learn the best practices for TiDB application development with the chapters in the [Developer guide](/develop/dev-guide-overview.md), such as [Insert data](/develop/dev-guide-insert-data.md), [Update data](/develop/dev-guide-update-data.md), [Delete data](/develop/dev-guide-delete-data.md), [Single table reading](/develop/dev-guide-get-data-from-single-table.md), [Transactions](/develop/dev-guide-transaction-overview.md), and [SQL performance optimization](/develop/dev-guide-optimize-sql-overview.md).
+- Learn through the professional [TiDB developer courses](https://www.pingcap.com/education/) and earn [TiDB certifications](https://www.pingcap.com/education/certification/) after passing the exam.
+
+## Need help?
+
+Ask questions on the [Discord](https://discord.gg/vYU9h56kAX), or [create a support ticket](https://support.pingcap.com/).
diff --git a/media/develop/vsc-sqltools-add-new-connection.jpg b/media/develop/vsc-sqltools-add-new-connection.jpg
new file mode 100644
index 0000000000000..1b2bf40b13f45
Binary files /dev/null and b/media/develop/vsc-sqltools-add-new-connection.jpg differ
diff --git a/media/develop/vsc-sqltools-connection-config-dedicated.jpg b/media/develop/vsc-sqltools-connection-config-dedicated.jpg
new file mode 100644
index 0000000000000..198183524b73d
Binary files /dev/null and b/media/develop/vsc-sqltools-connection-config-dedicated.jpg differ
diff --git a/media/develop/vsc-sqltools-connection-config-self-hosted.jpg b/media/develop/vsc-sqltools-connection-config-self-hosted.jpg
new file mode 100644
index 0000000000000..e50dad808bb54
Binary files /dev/null and b/media/develop/vsc-sqltools-connection-config-self-hosted.jpg differ
diff --git a/media/develop/vsc-sqltools-connection-config-serverless.jpg b/media/develop/vsc-sqltools-connection-config-serverless.jpg
new file mode 100644
index 0000000000000..33b574fedb1fa
Binary files /dev/null and b/media/develop/vsc-sqltools-connection-config-serverless.jpg differ
diff --git a/media/develop/vsc-sqltools-password.jpg b/media/develop/vsc-sqltools-password.jpg
new file mode 100644
index 0000000000000..df1a710ce93a5
Binary files /dev/null and b/media/develop/vsc-sqltools-password.jpg differ