Skip to content

Take a claimed Appwrite Zero project to production

Get a claimed Appwrite Zero project ready for users: rename it, replace the Zero API key, tighten permissions, connect Git, and add a custom domain.

Claiming an Appwrite Zero project moves it into an organization with its ID, endpoint, data, and live site intact. The countdown and site banner disappear, and the organization's plan takes over.

A few starter defaults remain from the Zero session, including a placeholder name, a full-access API key, and permissions that may be too open. The five steps below clean up those defaults, set up automatic Git deployments, and put the site on a custom domain.

Step 1: Rename the project

Every Zero project starts with the name Zero project. Rename it in the Console:

  1. Open Settings at the bottom of the project sidebar.
  2. In the Name card, replace Zero project with the app's name.
  3. Click Update.

Renaming changes only the display name. The project ID and endpoint stay the same, so deployed code keeps working with no changes.

Step 2: Replace the Zero API key

Every Zero project includes an API key named Zero with every scope, meaning full access to the project. Claiming removes its expiration date so local commands keep working. Before deleting that key, sign the CLI in to an Appwrite account:

Shell
appwrite login

If an Appwrite account is already signed in on this machine, run appwrite login --switch instead. Then replace the Zero key in the Console:

  1. Open API Keys in the project sidebar.
  2. If server code uses the Zero key, click Create API key, select only the scopes that code needs, and set an Expiration date. Then update that code's environment variables to use the new key.
  3. Open the three-dots menu on the Zero key and click Delete.

Step 3: Tighten table and bucket permissions

Fast prototypes often leave tables or buckets open to Any (every visitor, signed in or not) alongside test data. Check each table and bucket before real users arrive:

  1. Open Databases, select each table, and open its Security tab.
  2. Replace unnecessary Any permissions with All users (signed-in users) or specific roles, and click Update. If each user should access only their own rows, turn on Row level security (RLS) to set permissions per row, and click Update.
  3. Repeat that check on each bucket's Security tab in Storage, and turn on File level security where permissions should apply per file.
  4. Delete test rows under Databases and test accounts under Auth > Users.

Appwrite blocks access unless a permission grants it, and changes take effect on the next request with no redeploy. See the permissions documentation for role and team patterns.

Step 4: Connect the site to Git

Zero deploys sites and functions from the CLI, so Git pushes do not start a build yet. Push the code to GitHub, GitLab, or Bitbucket, then connect the repository in the Console:

  1. Open Sites, select the site, and go to Settings > Version control (Git).
  2. In the Repository card, connect the Git provider, pick the repository, and click Connect.
  3. If the app lives in a subfolder, set Root directory and click Update.

Pushes to the production branch now build and go live automatically. Other branches build private preview deployments that only organization members can open. Repeat these steps under Functions for any backend function.

Step 5: Add a custom domain

The site already runs on a generated appwrite.network address without the Zero banner. Add a custom domain to serve it on the app's own address:

  1. Open the site's Domains tab and click Add domain.
  2. Enter the Domain name, such as app.example.com, keep Active deployment selected under Target, and click Add.
  3. Copy the DNS records Appwrite displays and add them at the domain's DNS provider. Then return to the Console and click Verify.

Once verified, Appwrite issues a TLS certificate for HTTPS and serves the active deployment on the custom domain. That domain is also allowed to call the project's API automatically. If a separate frontend hosted outside Appwrite Sites calls the backend, add its hostname under Apps in the project sidebar.

Keep building

The project now runs in an Appwrite organization with every table, file, and user from the original build intact. Coding agents can keep shipping features through the signed-in CLI or the Appwrite MCP server. Share what went live or ask questions in the Appwrite Discord.

No. The project ID, endpoint, and Zero API key stay active, and the key no longer expires, so the agent keeps working. To switch the CLI to an Appwrite account instead, run appwrite login, or run appwrite login --switch if the account is already signed in. Then delete the Zero key under API Keys.

Appwrite gives that key every scope, meaning full API access, so coding agents can manage the project through the CLI before it is claimed. Claiming removes its expiration date so the running app keeps working. If server code needs an API key, create one with only the scopes that code uses, then delete the Zero key.

Yes. Push the code to GitHub, GitLab, or Bitbucket. Then open the site in the Appwrite Console and connect the repository under Settings > Version control (Git). Pushes to the production branch then deploy automatically, and the existing site and domains stay intact.

No. Any domain verified on an Appwrite Site is automatically allowed to call the project's API. Add a hostname under Apps only when a separate frontend hosted outside Appwrite Sites calls the backend.

Read next

Introducing Appwrite Zero

Chirag Aggarwal

Appwrite Zero creates a real Appwrite Cloud project for a developer or coding agent upfront, skipping signup and card entry. Projects run for an hour, and claiming one keeps everything already built inside.

6 min read