AnalyticDB for PostgreSQL Supabase is a fully managed application development platform built on open-source Supabase, combining Alibaba Cloud infrastructure to provide high performance, robust security, and a comprehensive ecosystem. The platform ensures user ownership of resources while offering flexible compute/storage configuration, natively supports Alipay and WeChat OAuth, and integrates Edge Functions—core features of Supabase Cloud—to achieve 100% API and user experience compatibility with the official service.
Core features
Feature | Description |
Native Alipay/WeChat OAuth support | Natively supports Alipay/WeChat OAuth with out-of-the-box integration, enabling seamless use across web, apps, and mini-programs while significantly reducing development costs. |
Full-lifecycle Edge Functions experience | Supports the end-to-end lifecycle of Supabase Edge Functions (development, deployment, logging), ensuring low-latency execution, stability, and event-driven workflows, with native Secrets management for secure storage of API keys, tokens, and other secrets. |
Full-link log observability | Modules like Edge Functions, Database, Auth, and Storage offer full-visibility logging via the dashboard for real-time log viewing, debugging, and error tracing, enhancing development efficiency and troubleshooting speed while enabling a true self-service workflow. |
Ecosystem compatibility and easy migration | API and SDK compatible with official Supabase, enabling seamless migration without modifying application code. |
Native MCP Server support | Supports Model Context Protocol (MCP) Server, enabling LLMs/Agents to directly access databases, Storage, and Edge Functions for seamless AI invocation pipelines—ideal for intelligent assistants, automation, and data-driven apps. |
Enterprise-grade security | Provides VPC network isolation, access auditing, encrypted transmission, a permission system, and security policies for Object Storage Service. |
Fully managed and maintenance-free experience | Offers multiple instance types with auto-scaling and enterprise-grade features (version upgrades, data backups), enabling developers to focus on core business without managing clusters. |
Billing
Free Edition: A free tier with 1 vCPU and 2 GB of memory is available.
ImportantThe free project is for development and testing only. Do not use it in a production environment.
Paid Edition: Creating a project incurs fees for compute and storage resources. For pricing of compute resource specifications, see Pricing. For a detailed breakdown of project charges, see the Supabase purchase page.
Create a Supabase project
Log on to the AnalyticDB for PostgreSQL console.
In the upper-left corner of the console, select the region where the instance is located.
In the navigation pane on the left, click Supabase.
In the upper-right corner of the page, click Create Project, and select Free test creation or Paid creation.
Set the parameters.
Free tier
Parameter
Description
Project Name
The name of the project.
Zone
A zone is an independent physical area within a region. There is no significant difference between zones.
Specifications
Select the project specifications.
Database Account
Fixed at postgres.
Database Password, Confirm Password
The password for the initial account. The password must meet the following requirements:
Be 8 to 32 characters in length.
Contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters.
The supported special characters are:
!@#$%^&*()_+-=.
NoteAfter creating the Supabase instance, you can reset the database password via the console or by calling the ResetSupabaseProjectPassword operation.
VPC
Select the ID of the virtual private cloud (VPC).
You must first create a VPC and a vSwitch in the same region as the instance.
VSwitch
Select a vSwitch in the VPC.
If no vSwitches are available, you can switch to another zone or create a vSwitch in the current zone.
Remove Whitelist Restrictions
Select whether to enable the whitelist restriction.
IP Address Whitelist
Add the IP addresses to the whitelist.
Paid tier
Parameter
Description
Product Type
Select Subscription or Pay-As-You-Go.
Region and Availability Zone
Select the region and zone. A zone is an independent physical area within a region. There is no significant difference between zones.
Instance Specifications
Select the size of the compute resource specifications. A specification with 4 GB of memory or more is recommended.
Disk Type
Select the disk storage class.
Storage Capacity
Select the size of the storage resource specifications.
Project Name
Enter a project name.
ImportantThe project name must be unique.
Initialize Password
Set the password for the database. The password must meet the following requirements:
Be 8 to 32 characters in length.
Contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters.
The supported special characters are:
!@#$%^&*()_+-=.
NoteThe initial password is the database password, not the logon password for the dashboard.
After creating the Supabase instance, you can reset the database password via the console or by calling the ResetSupabaseProjectPassword operation.
Virtual Private Cloud (VPC)
Select the ID of the VPC.
You must first create a VPC and vSwitch in the same region as the instance.
vSwitch
Select a vSwitch in the VPC.
If no vSwitches are available, you can switch to another zone or create a vSwitch in the current zone.
Resource Group
Select a resource group.
Confirm the parameter settings and complete the project creation.
For a free tier project: Click OK.
For a paid tier project: Click Buy Now, confirm your order information, and click Activate Now.
Use Supabase project
Log on to the Supabase Dashboard.
In the Actions column of the target instance, click Manage.
Copy the logon account and logon password, and then click Go to. You are redirected to the Supabase Dashboard logon window.
Enter the username and password to log on to the Supabase Dashboard.

Obtain API keys.
Obtain the anon key for database operations such as create, read, update, and delete (CRUD).
In the upper-left corner of the Supabase Dashboard, click Connect.
In the pop-up window, click App Frameworks to obtain the
NEXT_PUBLIC_SUPABASE_URLandNEXT_PUBLIC_SUPABASE_ANON_KEYof the Supabase instance.

Obtain the service role key for operations such as identity verification and authorization.
In the navigation pane on the left of the Supabase Dashboard, click API Docs.
Click Introduction > Bash. For Project API Key, select service_role.

Click Authentication to obtain the SERVICE KEY.

Call RESTful and Auth APIs.
ImportantStore API keys in environment variables to avoid hardcoding in code and reduce the risk of exposure.
Use the Supabase REST API to manage your database.
You can perform CRUD operations on the database at
https://<SUPABASE_URL>/rest/v1/. Example: Query theuserstable with this command:curl 'http://<SUPABASE_URL>/rest/v1/users'-H "Authorization: Bearer <anon key>" -H "apikey: <anon key>" -H "Content-Type: application/json"Use the Supabase Auth API to manage user registration and authentication.
Example: Query all users with this command:
curl 'http://<SUPABASE_URL>/admin/users' -H "Authorization: Bearer <service role key>" -H "apikey: <service role key>" -H "Content-Type: application/json"
For more information, see the official Supabase documentation.
Manage Supabase project
Change database password
In the Actions column of the target instance, click Change Password. In the pop-up window, enter the new password and click OK.
Modify whitelist
In the Actions column of the target instance, click Modify Whitelist. In the pop-up window, enter the IP addresses and click OK.
Delete Supabase project
In the Actions column of the target instance, click Release. In the pop-up window, click OK.
Related APIs
API | Description |
Creates a Supabase project. | |
Queries a list of Supabase projects. | |
Queries the API keys of a Supabase project, including the anon key and the service role key. | |
Resets the database password of a Supabase project. | |
Sets the whitelist of a Supabase project. | |
Deletes a Supabase project. |
FAQ
How to connect directly to the PostgreSQL database?
For instances created after August 27, 2025, AnalyticDB for PostgreSQL Supabase supports standard PostgreSQL direct connections. You can use common tools such as psql, JDBC, DBeaver, DataGrip, and Tableau to connect to AnalyticDB Supabase.
Follow these steps to connect:
Log on to the AnalyticDB for PostgreSQL console, select the region where the instance is located, and then in the navigation pane on the left, click Supabase.
Configure the whitelist.
Click Modify Whitelist in the Actions column for the target project to add the public IP address of your client to the Supabase project whitelist.

(Optional) Set and save the database account password.
Click Modify Password in the Actions column for the target project, and then set and securely store the database account password.
Obtain the connection information and connect to the database.
Default port: 5432.
Connection address: Click Manage in the Actions column for the target project, and then click Go To. You are redirected to a URL in the format
http://<IP>:8000. The<IP>part of this URL is the database connection address.