Skip to content
Integrations

Vercel 市场

概览 #

🌐 Overview

Vercel 市场是一个功能,让你可以直接在 Vercel 平台上管理第三方资源,比如 Supabase。这个集成提供了无缝体验,包括统一的账单、简化的认证以及方便团队管理访问权限。

🌐 The Vercel Marketplace is a feature that allows you to manage third-party resources, such as Supabase, directly from the Vercel platform. This integration offers a seamless experience with unified billing, streamlined authentication, and easy access management for your team.

当你通过 Vercel Marketplace 创建组织和项目时,它们的功能就像在 Supabase 里直接创建的一样。不过,计费是通过你的 Vercel 账户处理的,你可以直接在 Vercel 仪表板或 CLI 上管理你的资源。另外,环境变量会自动同步,使它们可以立即在你连接的项目中使用。

🌐 When you create an organization and projects through Vercel Marketplace, they function like those created directly within Supabase. However, the billing is handled through your Vercel account, and you can manage your resources directly from the Vercel dashboard or CLI. Additionally, environment variables are automatically synchronized, making them immediately available for your connected projects.

更多信息,请参阅介绍 Vercel 市场的博客文章。

🌐 For more information, see Introducing the Vercel Marketplace blog post.

快速入门 #

🌐 Quickstart

通过模板 #

🌐 Via template

现在使用 Supabase Vercel Storage 部署一个 Next.js 应用

使用 Next.js Supabase 入门模板

Deploy with Vercel

通过 Vercel 市场 #

🌐 Via Vercel Marketplace

详情敬请期待..

🌐 Details coming soon..

正在连接 Supabase 项目 #

🌐 Connecting to Supabase project

通过 Vercel Marketplace 创建的 Supabase 项目会自动与已连接的 Vercel 项目同步。这种同步包括设置一些关键的环境变量,比如:

🌐 Supabase Projects created via Vercel Marketplace are automatically synchronized with connected Vercel projects. This synchronization includes setting essential environment variables, such as:

1
POSTGRES_URL
2
POSTGRES_PRISMA_URL
3
POSTGRES_URL_NON_POOLING
4
POSTGRES_USER
5
POSTGRES_HOST
6
POSTGRES_PASSWORD
7
POSTGRES_DATABASE
8
SUPABASE_SECRET_KEY
9
SUPABASE_PUBLISHABLE_KEY
10
SUPABASE_URL
11
SUPABASE_JWT_SECRET
12
NEXT_PUBLIC_SUPABASE_PUBLISHABLE_KEY
13
NEXT_PUBLIC_SUPABASE_URL

这些变量可以确保你的应用能够安全地连接到数据库并与 Supabase API 进行交互。

🌐 These variables ensure your applications can connect securely to the database and interact with Supabase APIs.

工作室支持 #

🌐 Studio support

从 Vercel 仪表板打开 Supabase Studio。你可以从集成安装页面或 Vercel 存储页面访问它。根据你的入口点,你要么会进入 Supabase 仪表板首页,要么会被重定向到对应的 Supabase 项目。

🌐 Open Supabase Studio from the Vercel dashboard. You can access it from either the Integration installation page or the Vercel Storage page. Depending on your entry point, you'll either land on the Supabase dashboard homepage or be redirected to the corresponding Supabase Project.

Supabase Studio 提供的工具有:

🌐 Supabase Studio provides tools such as:

  • SQL 编辑器: 对你的数据库运行 SQL 查询。
  • 表格编辑器: 创建、编辑和删除表格及列。
  • 日志浏览器: 查看你数据库的实时日志。
  • Postgres 升级: 将你的 Postgres 实例升级到最新版本。
  • 计算升级: 调整分配给数据库的计算资源。

权限 #

🌐 Permissions

Supabase 组织和 Vercel 团队之间有一对一的直接关系。通过 Vercel 安装集成或启动你的第一个 Supabase 项目时,如果没有对应的 Supabase 组织,会触发创建一个新的。

🌐 There is a direct one-to-one relationship between a Supabase Organization and a Vercel team. Installing the integration or launching your first Supabase Project through Vercel triggers the creation of a corresponding Supabase Organization if one doesn’t already exist.

当 Vercel 用户与 Supabase 互动时,他们会自动被分配 Supabase 账户。新用户会获得一个与他们主要邮箱关联的 Supabase 账户,而已有用户则会将他们的 Vercel 和 Supabase 账户关联起来。

🌐 When Vercel users interact with Supabase, they are automatically assigned Supabase accounts. New users get a Supabase account linked to their primary email, while existing users have their Vercel and Supabase accounts linked.

  • 发起创建 Vercel Storage 数据库的用户会在新的 Supabase 组织中被分配 owner 角色。
  • 后续用户会根据他们在 Vercel 的角色分配相应的角色,例如 member 对应 developerowner 对应 owner

角色管理直接在 Vercel 仪表板上处理,修改会与 Supabase 同步。

🌐 Role management is handled directly in the Vercel dashboard, and changes are synchronized with Supabase.

注意:你可以邀请非 Vercel 用户加入你的 Supabase 组织,但他们的权限不会与 Vercel 同步。

🌐 Note: you can invite non-Vercel users to your Supabase Organization, but their permissions won't be synchronized with Vercel.

价格 #

🌐 Pricing

通过 Vercel 市场创建的数据库的定价与直接在 Supabase 中创建的数据库相同。详细的定价信息可以在 Supabase 定价页面 上查看。

🌐 Pricing for databases created through Vercel Marketplace is identical to those created directly within Supabase. Detailed pricing information is available on the Supabase pricing page.

使用页面 会跟踪你 Vercel 数据库的使用情况,这些信息会发送给 Vercel 用于计费,并会显示在你的 Vercel 发票上。

🌐 The usage page tracks the usage of your Vercel databases, with this information sent to Vercel for billing, which appears on your Vercel invoice.

注意:Supabase 组织的计费周期与 Vercel 的是分开的。计划更改会将计费周期重置为更改当天,初始计费周期从你安装集成的那天开始。

🌐 Note: Supabase Organization billing cycle is separate from Vercel's. Plan changes will reset the billing cycle to the day of the change, with the initial billing cycle starting the day you install the integration.

限制 #

🌐 Limitations

在使用 Vercel 市场时,会有以下限制:

🌐 When using Vercel Marketplace, the following limitations apply:

  • 项目只能通过 Vercel 仪表板创建。
  • 组织无法手动移除;只有在你卸载 Vercel 市场集成时才会被移除。
  • 在 Supabase 仪表板里不能手动添加拥有者。
  • 发票和付款必须通过 Vercel 仪表板管理,而不是通过 Supabase 仪表板。
  • 自定义域名 不受支持,我们总是使用 Vercel 环境变量的基础 SUPABASE_URL