Native Marketplace Partner server that connects a customer’s Appwrite project to Vercel: collect endpoint, project ID, database ID, and API key; inject APPWRITE_* environment variables; and create or label an Appwrite Auth user for the installing Vercel account with the admin label (configurable).
Forked from vercel/example-marketplace-integration. See DOCUMENTATION.md for Integrations Console setup, metadata schema, JWT user_email opt-in, Appwrite scopes, and product snippets.
Production app: https://vercel-appwrite.vercel.app/ — use this origin for Base URL and https://vercel-appwrite.vercel.app/callback for Redirect Login URL in the Integrations Console.
- Deploy this app to Vercel and add Upstash Redis so
KV_REST_API_URLandKV_REST_API_TOKENare set (same as the upstream example). - In the Integrations Console, create a native integration and set Base URL and Redirect Login URL (
/callback). - Create a product with slug
appwrite(or set envAPPWRITE_PRODUCT_IDto your slug). - Paste the metadata schema from
public/appwrite-metadata-schema.jsoninto the product’s metadata schema field (adjust to match the console’s expected wrapper if needed). - Add a billing plan with id
appwrite-byok(free, no payment method).
Required env vars: INTEGRATION_CLIENT_ID, INTEGRATION_CLIENT_SECRET, Redis KV variables. Optional: APPWRITE_PRODUCT_ID, APPWRITE_ADMIN_LABEL, VERCEL_INTEGRATION_SLUG (for the Install on Vercel button on /), CRON_SECRET.