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
In the sidebar conversation panel, find and click Supabase to connect.
Log in or register for a Supabase account.
Authorize the API access.
Using Supabase in a Project
Connect to Supabase。
Select an existing Supabase project to connect, or create a new project.
Click Connect project to establish the connection.
After a successful connection, the result will appear as shown below.
In your project, select the services you need to add, for example:
Disconnecting from Supabase
In the sidebar conversation panel, click the Settings icon next to Integration to enter the CodeBuddy configuration page.
In the settings page, switch to the Integration tab.
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
In the sidebar conversation panel, find and click Tencent CloudBase to connect.
Log in or register for a Tencent Cloud account.
Authorize the connection.
After a successful connection, the result will appear as shown below:
Using TCB in a Project
Ensure the current project is successfully connected to TCB.
Add the services you need in the project, for example:
Disconnecting from TCB
In the sidebar conversation panel, click the Settings icon next to Integration to enter the CodeBuddy configuration page.
In the settings page, switch to the Integration tab.
Click Disable Connect next to the successfully connected TCB to disconnect.