Skip to main content
Connect Appwrite and agents can check service health, failed jobs, functions and their deployments, databases, buckets, users, and teams. CloudThinker signs in with a project API key, on Appwrite Cloud or your own server.

Prerequisites

  • An Appwrite project, on Appwrite Cloud or a server you run.
  • Permission to create API keys in the project.
  • For a server with a private certificate, the issuing CA certificate in PEM form.

Setup

1

Copy the endpoint and project ID

In the Appwrite console, find the API address of your project, such as https://cloud.appwrite.io/v1. Open Settings and copy the Project ID.
2

Create an API key

In the Appwrite console, create a project API key with the scopes in Required permissions. Copy it now.
3

Add the connection in CloudThinker

Go to Settings → Workspace → Connections. On the Discover tab, select Appwrite. Fill in the fields in Connection details and click Connect.Success state: Appwrite shows Connected on the Connected tab.

Connection details

The certificate and hostname are always checked.

Required permissions

Read-only scopes: health.read, databases.read, functions.read, buckets.read, users.read, teams.read, execution.read, sites.read Add a write scope only for the changes you want agents to propose:

Agent capabilities

Changes run only after you approve them in Approvals. Each change reads the target first and refuses an unknown ID. Running a function runs its code and cannot be undone.

Verify the connection

Expect service status, failed job counts, and a list of functions. If a section is marked incomplete, the key lacks that read scope.

Example prompts

Troubleshooting

The API key is wrong or lacks a read scope. Create a key with the read scopes above, then edit the connection and paste it.
Your server uses a private or self-signed certificate. Paste the issuing CA certificate into CA certificate (optional).
No function has that ID. Ask the agent to list functions and use the ID it shows.

Security

  • Least privilege — grant only the permissions the agents need for your use case; start read-only and widen later.
  • Read-only by default — use read-only credentials unless you want agents to make changes through this connection.
  • Rotate credentials — rotate keys and tokens on your normal schedule; CloudThinker picks up the new value when you update the connection.
  • Revoke on offboarding — remove the credential at the provider when you delete a connection or a teammate leaves.
  • Scopes: leave write scopes off the key if you only want to investigate.
  • Run function: running a function can have side effects. Read the function name and body before you approve.

Connections

See how connections work and how to manage them.

Approvals

Control which Appwrite changes wait for a person.