Skip to content

Config Integration

CodeBuddy integrates Supabase and Tencent CloudBase backend services, enabling you to get a running backend environment without complex configurations.

Supabase

Supabase mainly provides backend services such as database services, authentication methods, and edge functions.

  • Database Services: Provides managed SQL databases that you can connect your application to. No need to worry about managing the database.

  • Authentication Services: Allows you to add user login and management to your application.

  • Edge Functions: If your application needs to include an API, you can use these functions. They are also used to communicate with other applications, such as Stripe for payment processing.

Connecting to Supabase

  1. In the sidebar conversation panel, find and click Supabase to connect.

  2. Log in or register for a Supabase account.

  3. Authorize the API access.

Using Supabase in a Project

  1. Connect to Supabase。

  2. Select an existing Supabase project to connect, or create a new project.

  3. Click Connect project to establish the connection.

  4. After a successful connection, the result will appear as shown below.

  5. In your project, select the services you need to add, for example:

Disconnecting from Supabase

  1. In the sidebar conversation panel, click the Settings icon next to Integration to enter the CodeBuddy configuration page.

  2. In the settings page, switch to the Integration tab.

  3. Click Disable Connect next to the connected Supabase project to disconnect.

Tencent CloudBase

Tencent CloudBase (TCB) mainly provides backend services such as login authentication, databases, cloud functions, and cloud storage.

Login Authentication: Provides a complete user identity management and access control solution for your application. Through various built-in login methods and security mechanisms, each request from the user side is authenticated and authorized to prevent malicious access or theft of resources, helping you quickly build a reliable user system.

Database: Based on a serverless architecture, it’s ready to use as soon as you enable it, without worrying about operations, and provides a complete data management solution.

Cloud Functions: Based on a serverless architecture, TCB fully manages the underlying computing resources, so you don’t need to manage servers to run backend code.

Cloud Storage: Provides stable, secure, low-cost, and easy-to-use cloud storage services that support storing any quantity and type of unstructured data such as images, documents, audio, video, files, etc.

Connecting to TCB

  1. In the sidebar conversation panel, find and click Tencent CloudBase to connect.

  2. Log in or register for a Tencent Cloud account.

  3. Authorize the connection.

  4. After a successful connection, the result will appear as shown below:

Using TCB in a Project

  1. Ensure the current project is successfully connected to TCB.

  2. Add the services you need in the project, for example:

Disconnecting from TCB

  1. In the sidebar conversation panel, click the Settings icon next to Integration to enter the CodeBuddy configuration page.

  2. In the settings page, switch to the Integration tab.

  3. Click Disable Connect next to the successfully connected TCB to disconnect.