Use Dex Cloud
View as MarkdownDex Cloud runs Dex Server for you, with its storage, upgrades, capacity, and monitoring. Your Workers run anywhere, so your code and credentials stay with you.
Get started
Sign up for Dex Cloud, then create a server. For pricing, regions, and SLA, contact Super Durable.
Dex Cloud also runs whole applications. A Managed Dex App is built from your GitHub repository and runs your Workers too.
Connect Workers and Clients
Each server you create in Dex Cloud has its own endpoint and API key. Your Workers and Clients connect to that endpoint over TLS with the key:
- The key goes in an API key credential.
- TLS is the SDK's TLS option.
The values come from the Dex Server page in Dex Cloud. Open Management, then the Connect tab. Its Connection values list the Endpoint, Server ID, and Token URL, each with a Copy button. The API keys tab creates an API key. Dex Cloud shows its secret once, when you create it.
The Dex Agents CLI commands, such as dex-agents-claude-sdk, connect with the same values. Set dex.server in the configuration file to https:// plus the endpoint. Set dex.auth to api_key, with the Token URL and Server ID you copied. Export the secret as DEX_API_KEY:
dex:
server: https://ENDPOINT
auth:
mode: api_key
token_url: TOKEN_URL
server_id: SERVER_ID
export DEX_API_KEY=...
dex-agents-claude-sdk
Run against a remote Dex server lists every setting, including DEX_TOKEN_URL and DEX_SERVER_ID as alternatives to the file.
What runs where
| Who runs it | |
|---|---|
| Dex Server: storage, upgrades, capacity, and monitoring | Super Durable |
| Flow state: Flow inputs, Attributes, and Step results | Stored by Dex Server, in storage that Super Durable operates |
| Your Workers and your Flow code | You, wherever you deploy them |
| The credentials your code uses for your own APIs | You. They stay in your Workers. |
Where to run Dex Server compares Dex Cloud with a self-hosted server.
Next
- Managed Dex App: let Dex Cloud build and run your whole application from a GitHub repository.
- Production checklist: the checklist items for your Workers, code changes, and database apply in Dex Cloud too.
- Operate and Debug: find a Flow and fix one that is stuck or failed.