app.py as the Quickstart. Create an API key in the Cloud dashboard, export it, then create the hosted database, the tables, and hosted HTTP.
Get an API key
Sign in from the browser, create a key, then export it. The CLI readsPIXELTABLE_API_KEY. It does not log you in.
1
Sign in
New account: pixeltable.com/signup. Existing account: pixeltable.com/login. After sign-in, the dashboard opens your organization.
2
Create a key
Open API Keys in the organization sidebar, or go to
https://www.pixeltable.com/dashboard/your-org/api-keys. Click New, or Create API Key if the list is empty. Name the key. Click Create Key. Copy the value now. The dashboard shows the full key once.3
Export it
~/.pixeltable/config.toml:OPENAI_API_KEY go under Secrets in the dashboard, or pxt secret set pxt://org OPENAI_API_KEY=.... They do not go in this API key. CLI.pxt init writes pixeltable.toml. Put the hosted URL in that file, then run the three commands:
/table. Open it with t = pxt.get_table('pxt://org:mydb/docs'). A local table uses dotted namespace.table, such as pxt.get_table('my_app.docs').
pxt.Image, pxt.Video, pxt.Audio, or pxt.Document: media pipelines, RAG.
pxt db update creates the hosted database or updates its image, secrets, and size. It does not insert your data and does not start app endpoints. pxt schema update creates the tables. It does not start the endpoints. pxt service update starts hosted endpoints. Do not use pxt service run for Cloud; that command only starts endpoints in your local terminal.
After the database is up, insert from the Cloud dashboard or from Python. A local file path on a Cloud table uploads the file. Run pxt schema diff to see pending schema changes.
Media on the home bucket
Every Cloud database includes a managed bucket. No provider account, no credentials file. Setdestination= on that computed column:
output_media_dest as the default for computed media. Details: Cloud storage.
Local vs Cloud
pxt db also lists, starts, stops, diffs, and deletes hosted databases. pxt db build-image rebuilds the Python image without waiting for drift. CLI.
Join the waitlist
Early access to Pixeltable Cloud.
Book a demo
Talk through a Cloud deployment.