llms.txt
Compare with other sites' llms.txt files →# bex.co docs
> bex is the open-source, AI-native Render alternative (deploy apps on infra you own); bex router provides blockchain RPC access. These docs cover both product lines, plus Eden Pay webhooks and the x402 protocol.
## Agent & developer resources
- **Platform CLI** — install the official Bex CLI from GitHub releases or Homebrew using [the CLI guide](https://bex.co/docs/cli). Command reference: https://bex.co/docs/platform/cli-reference.
- **Bex Desktop** — human download page https://bex.co/download; machine feed https://bex.co/releases/stable/latest and release notes https://bex.co/api/release_notes/v2/stable/latest (stable channel only).
- **Platform API** — REST and GraphQL authentication and endpoints: https://bex.co/docs/platform/api. Endpoint reference with implementation grades: https://bex.co/docs/platform/api-reference; graded OpenAPI JSON: https://bex.co/content/platform-openapi.json. Self-hosted installations use their own API and OAuth origins.
- **Platform MCP** — https://api.bex.co/mcp; setup: https://bex.co/docs/mcp-server. Discover the resource and scopes at https://api.bex.co/.well-known/oauth-protected-resource and the issuer at https://oauth.bex.co/.well-known/oauth-authorization-server.
- **Documentation** — https://bex.co/llms.txt is the English docs index; https://bex.co/llms-full.txt contains the full English docs; https://bex.co/docs/<section>/llms.txt limits the index to one section.
- **Raw markdown** — append .md to an English docs page URL or a dated blog post URL. Blog post URLs may include a locale prefix; missing translations fall back to English. Indexes, tag pages, and author pages do not have a .md representation.
- **Website content API** — https://bex.co/content/openapi.json describes public content endpoints; https://bex.co/graphql serves English blog queries. These endpoints require no platform token and do not manage infrastructure.
- **Runnable examples** — HTML catalog https://bex.co/examples (filter with ?task=); complete ZIP archives and English README/source trees live under https://bex.co/examples/<id>-latest.zip and https://bex.co/examples/<id>/ (alternate representations, not sitemap entries).
- **Browser tools** — https://bex.co/tools lists free tools that run entirely in the reader's browser and never call platform APIs: https://bex.co/tools/render-yaml-checker, https://bex.co/tools/render-automation-checker, https://bex.co/tools/heroku-to-render-yaml, https://bex.co/tools/docker-compose-to-render-yaml, https://bex.co/tools/fly-to-render-yaml, https://bex.co/tools/railway-to-render-yaml, https://bex.co/tools/dockerfile-checker, https://bex.co/tools/docker-build-context, https://bex.co/tools/deploy-filter, https://bex.co/tools/cors-debugger, https://bex.co/tools/mcp-config, https://bex.co/tools/webhook-signature, https://bex.co/tools/cron-schedule, https://bex.co/tools/domain-dns, https://bex.co/tools/jwt-decoder, https://bex.co/tools/base64, https://bex.co/tools/hash-generator, https://bex.co/tools/uuid-generator, https://bex.co/tools/timestamp-converter, https://bex.co/tools/yaml-to-json, https://bex.co/tools/env-validator, https://bex.co/tools/docker-run-to-compose, https://bex.co/tools/http-status, https://bex.co/tools/security-headers, https://bex.co/tools/cidr-calculator. Their results are previews; the platform's own validation stays authoritative. Common cron schedules each have a page under https://bex.co/tools/cron-schedule/, for example https://bex.co/tools/cron-schedule/every-5-minutes, and each HTTP status code has a reference page under https://bex.co/tools/http-status/, for example https://bex.co/tools/http-status/502.
- **Discovery** — https://bex.co/.well-known/mcp.json links the platform MCP server and website content resources. https://bex.co/sitemap.xml lists published pages.
## Welcome to bex.co
- [Welcome to bex.co](https://bex.co/docs/intro): bex.co docs — the open-source, AI-native bex platform (deploy apps on infra you own), bex router (a unified API gateway to 30+ chains), Eden Pay webhooks, and x402.
## bex platform
- [Quickstart](https://bex.co/docs/platform/quickstart): Run the Bex operator locally, deploy a sample container, and reach it through Kubernetes port forwarding.
- [Command line interface](https://bex.co/docs/cli): Install the Bex CLI, sign in, choose a workspace, inspect services and logs, and automate deployments with short-lived credentials.
- [MCP server](https://bex.co/docs/mcp-server): Connect Claude Code, Cursor, or any Model Context Protocol client to the bex platform MCP server at api.bex.co/mcp, sign in with OAuth 2.1 or an API key, and see which tools it exposes.
- [CLI reference](https://bex.co/docs/platform/cli-reference): Complete bex CLI command reference generated from the binary help tree, with Render compatibility grades.
- [REST & GraphQL API](https://bex.co/docs/platform/api): Authenticate to the Bex API, make REST and GraphQL requests, and handle workspace access, asynchronous operations, and errors.
- [Delete your account](https://bex.co/docs/platform/account-deletion): Preview what account deletion removes, resolve blocked workspaces, confirm with the exact phrase, and know what happens next.
- [API reference](https://bex.co/docs/platform/api-reference): Graded Bex platform REST API reference from the pinned OpenAPI contract, with an interactive Scalar explorer.
- [App lifecycle: restart, suspend, resume](https://bex.co/docs/platform/app-lifecycle): Restart, suspend, and resume Bex services while understanding availability, persistent state, and asynchronous completion.
- [App resources and render.yaml](https://bex.co/docs/platform/app-resource): Configure Bex with Render-style Blueprints or direct Kubernetes App resources, and validate changes before applying them.
- [Workspace audit logs](https://bex.co/docs/platform/audit-logs): Query Bex workspace audit records, follow pagination, interpret callers and outcomes, and investigate changes without confusing audit events with runtime success.
- [Background workers](https://bex.co/docs/platform/background-workers): Long-running processes with no HTTP port — queue consumers, stream processors — deployed and managed like any other Bex service.
- [Billing setup](https://bex.co/docs/platform/billing-setup): Complete hosted payment readiness, recover from PAYMENT_REQUIRED refusals, and know who can bind a payment method.
- [Manage Blueprints](https://bex.co/docs/platform/blueprints): Connect a render.yaml file to Bex, preview its resources, control synchronization, and disconnect without deleting workloads.
- [Build caching](https://bex.co/docs/platform/build-cache): Understand when a Bex build reuses cached layers, what invalidates the cache, and what caching never changes.
- [CI deploys a tested image digest](https://bex.co/docs/platform/ci-image-deploy): Build and test one container image in GitHub Actions, publish its immutable digest, and deploy that digest to an image-backed Bex service.
- [API versioning & compatibility](https://bex.co/docs/platform/compatibility): Understand current Bex API and Blueprint compatibility, version boundaries, and how to validate an integration before upgrading.
- [Connect an agent](https://bex.co/docs/platform/connect-an-agent): Connect an MCP client to Bex, authorize the required scopes, select a workspace, and validate a Blueprint before deploying.
- [Rotate an application environment credential](https://bex.co/docs/platform/credential-rotation): Rehearse issuing a replacement, applying a revision-checked environment update, verifying named consumers, and retiring the old credential without treating rolledOut as readiness.
- [Cron jobs](https://bex.co/docs/platform/cron-jobs): Schedule run-to-completion commands, inspect run history, and trigger or cancel a Bex cron run.
- [Custom domains](https://bex.co/docs/platform/custom-domains): Add a hostname, prove ownership with DNS, and verify routing and TLS before sending traffic to Bex.
- [Docker deploys](https://bex.co/docs/platform/docker-deploys): Build a Dockerfile from Git or run a prebuilt image, including private registry authentication and image updates.
- [FAQ](https://bex.co/docs/platform/faq): Answers about Bex setup, Kubernetes access, Render compatibility, persistence, deployment readiness, and troubleshooting.
- [GitHub integration](https://bex.co/docs/platform/github-integration): Connect GitHub repositories to a Bex workspace, deploy private code, configure automatic deployment, and troubleshoot missing repositories or pushes.
- [Health checks](https://bex.co/docs/platform/health-checks): Configure TCP or HTTP health checks, understand startup and restart behavior, and diagnose failed readiness.
- [Hosted setup](https://bex.co/docs/platform/hosted-setup): Create or join a hosted Bex workspace, complete verification and payment readiness, then deploy your first web service.
- [How deploys work](https://bex.co/docs/platform/how-deploys-work): Understand source changes, builds, pre-deploy commands, readiness, and service-specific deployment outcomes.
- [Finish accepted HTTP requests during shutdown](https://bex.co/docs/platform/http-shutdown): Drain in-flight HTTP work on SIGTERM with readiness, keep-alive admission, and a finite application deadline under Bex's termination budget.
- [Recover when an idle web service wakes](https://bex.co/docs/platform/idle-services): Configure free-tier idle sleep, recognize the activator wake response, and wait for a real application readiness signal.
- [Capture an incident report](https://bex.co/docs/platform/incident-report): Collect one service's deployment context, paginated logs, and metrics into a local inspectable report with explicit incomplete sources.
- [Key Value](https://bex.co/docs/platform/key-value): Create a managed Valkey store, connect applications, and configure eviction, persistence, and external access.
- [Logging](https://bex.co/docs/platform/logging): Find application, request, build, and pre-deploy logs with scoped queries and live tail, and diagnose unavailable log sources.
- [Maintenance mode](https://bex.co/docs/platform/maintenance-mode): Redirect public requests to a maintenance response on a paid Bex web service, verify the change, and restore normal routing.
- [Workspaces, members, & roles](https://bex.co/docs/platform/members): Invite teammates to a Bex workspace, understand role permissions and plan limits, and manage pending invitations and membership.
- [Metrics](https://bex.co/docs/platform/metrics): Inspect service and datastore time series, query metrics through the API, and distinguish absent telemetry from zero usage.
- [Migrate from Docker Compose](https://bex.co/docs/platform/migrate-from-docker-compose): Map Docker Compose services, ports, datastores and volumes to a Bex render.yaml, and see which Compose features have no Bex equivalent.
- [Migrate from Fly.io](https://bex.co/docs/platform/migrate-from-fly): Map fly.toml processes, ports, checks, mounts and release commands to a Bex render.yaml, and see which Fly.io settings have no Bex equivalent.
- [Migrate from Heroku](https://bex.co/docs/platform/migrate-from-heroku): Map Heroku process types and configuration to Bex services, choose a build path, and rehearse data and traffic migration.
- [Migrate from Railway](https://bex.co/docs/platform/migrate-from-railway): Map a Railway railway.json or railway.toml service to a Bex render.yaml, recreate its Postgres and Redis references, and see which Railway settings have no Bex equivalent.
- [Migrate from Render](https://bex.co/docs/platform/migrate-from-render): Plan a Render-to-Bex migration, validate render.yaml, transfer configuration and data, and rehearse traffic cutover and recovery.
- [Monorepo builds](https://bex.co/docs/platform/monorepos): Deploy separate services from one repository with explicit root directories, Docker contexts, and automatic-deployment filters.
- [Notifications](https://bex.co/docs/platform/notifications): Configure personal deploy alerts, service overrides, push availability, and signed outbound event webhooks.
- [User-authorized OAuth integrations](https://bex.co/docs/platform/oauth-integrations): Register a public OAuth client, run the downloadable PKCE sample, and call the Bex API as a consented user.
- [One-off jobs](https://bex.co/docs/platform/one-off-jobs): Run a standalone command from a deployed Bex service image, inspect its status, and understand which service settings are not inherited.
- [Persistent disks](https://bex.co/docs/platform/persistent-disks): Attach persistent storage to a Bex service, grow it, inspect snapshots, and understand restore and deletion risks.
- [Postgres](https://bex.co/docs/platform/postgres): Create managed PostgreSQL, connect with returned credentials, and plan storage, backups, recovery, and upgrades.
- [Pre-deploy commands](https://bex.co/docs/platform/pre-deploy-commands): Run a finite command against a new image before releasing it, with explicit timeout, retry, filesystem, and migration constraints.
- [Private network](https://bex.co/docs/platform/private-network): Connect services and datastores using their internal addresses, with workspace and environment isolation.
- [Projects and environments](https://bex.co/docs/platform/projects-environments): Organize Bex resources into projects and environments, manage membership, and understand configuration and network-policy effects.
- [Platform recovery rehearsals](https://bex.co/docs/platform/recovery): Prepare isolated drills that restore Bex platform state into throwaway targets using the upstream restore scripts.
- [Recovery drill: etcd](https://bex.co/docs/platform/recovery-etcd): Extract Bex CRs from an etcd snapshot into a throwaway local etcd, then optionally apply reviewed manifests to a restore-* context.
- [Recovery drill: Key Value](https://bex.co/docs/platform/recovery-keyvalue): Seed a paid Key Value RDB into a new Valkey instance in a restore-* namespace and verify a key after AOF rewrite.
- [Recovery drill: OpenBao](https://bex.co/docs/platform/recovery-openbao): Restore an OpenBao Raft snapshot into a new restore-* namespace and verify a path after unseal.
- [Recovery drill: Postgres](https://bex.co/docs/platform/recovery-postgres): Recover a CNPG object-store archive into a new restore-* namespace and verify with a SQL query.
- [Render parity](https://bex.co/docs/platform/render-parity): Compare implemented Bex workflows with Render and identify behavior differences, infrastructure prerequisites, and unsupported features.
- [Rollbacks](https://bex.co/docs/platform/rollbacks): Restore a previously live deployment artifact, follow the new rollout, and understand which state is not restored.
- [Scaling](https://bex.co/docs/platform/scaling): Set instance counts or autoscaling policies, understand plan and disk constraints, and verify capacity changes.
- [Secrets](https://bex.co/docs/platform/secrets): Configure service environment variables, secret files, and shared groups; choose when changes deploy and avoid accidental whole-list replacement.
- [Which service type to use?](https://bex.co/docs/platform/service-types): Choose between web services, private services, workers, cron jobs, static sites, and managed datastores.
- [SSH and web shell](https://bex.co/docs/platform/ssh): Open a shell on a running Bex service, register a public key, select an instance, and understand access and persistence limits.
- [SSO](https://bex.co/docs/platform/sso): Understand Bex sign-in, configured social providers, workspace invitations, and the boundary between social login and enterprise SSO.
- [Static sites](https://bex.co/docs/platform/static-sites): Publish static files from Git, configure redirects and headers, and troubleshoot build and routing failures.
- [TLS certificates](https://bex.co/docs/platform/tls): Understand managed certificate issuance, ownership verification, renewal, and TLS troubleshooting on Bex.
- [Month-to-date usage](https://bex.co/docs/platform/usage): Read workspace usage before the invoice, interpret coverage states and watermarks, and reconcile estimates against billing.
- [Web services](https://bex.co/docs/platform/web-services): Deploy an HTTP application from Git or an image, configure its listener, and diagnose its first deployment.
- [Outbound webhooks](https://bex.co/docs/platform/webhooks): Register a signed HTTPS receiver for Bex workspace events and verify Standard Webhooks deliveries.
## Payments
- [Webhook Event Reference](https://bex.co/docs/eden-pay/events): Complete reference for all EdenPay webhook events and their payload structures.
- [Webhook Quick Start Guide](https://bex.co/docs/eden-pay/quickstart): Set up your first EdenPay webhook endpoint in under 5 minutes.
- [Webhook Signature Verification](https://bex.co/docs/eden-pay/signatures): Learn how to verify webhook authenticity using HMAC-SHA256 signatures to secure your integration.
- [Webhook Troubleshooting Guide](https://bex.co/docs/eden-pay/troubleshooting): Solutions to common webhook problems and debugging strategies.
- [How to Implement a Crypto Paywall with x402](https://bex.co/docs/x402/implement-a-crypto-paywall-with-x402): x402 is an open protocol for internet-native payments that leverages the HTTP 402 "Payment Required" status code. With x402, you can implement paywalls…
- [x402 Protocol Introduction](https://bex.co/docs/x402/introduction): Welcome to bex.co's x402 facilitator service. We provide enterprise-grade x402 payment infrastructure with a Sui-first, multi-network approach for…
- [x402 Quick Start Guide](https://bex.co/docs/x402/quickstart): Start with the upstream x402 server and client integrations, and verify the facilitator and network before accepting payments.
- [Express.js Integration](https://bex.co/docs/x402/x402-express): Start accepting x402 payments in your Express server in 2 minutes
- [FastAPI Integration](https://bex.co/docs/x402/x402-fastapi): Start accepting x402 payments in your FastAPI server in 2 minutes
- [Flask Integration](https://bex.co/docs/x402/x402-flask): Start accepting x402 payments in your Flask server in 2 minutes
- [Merchant Introduction](https://bex.co/docs/x402/x402-for-merchants): Learn how to monetize your APIs and services with x402 on bex.co
- [Hono Integration](https://bex.co/docs/x402/x402-hono): Start accepting x402 payments in your Hono server in 2 minutes
- [Next.js Integration](https://bex.co/docs/x402/x402-nextjs): Start accepting x402 payments in your Next.js application in 2 minutes
## Tutorials
- [Hello, Web3!](https://bex.co/docs/solidity/01): Solidity is the programming language used for Ethereum smart contracts on the Ethereum Virtual Machine (EVM). In this tutorial, we will use Remix, an IDE…
- [Solidity Syntax - Version, Import, Types, Control Structures](https://bex.co/docs/solidity/02): Solidity is a contract-oriented programming language used for writing smart contracts on the Ethereum blockchain. In this tutorial, we will discuss the…
- [Solidity Syntax - Function](https://bex.co/docs/solidity/03): A function is a block of code that performs a specific task. In Solidity, functions are defined using the function keyword followed by the function name and…
- [Solidity Syntax - Contracts, Interface, Events, Libraries](https://bex.co/docs/solidity/04): In this tutorial, we will explore the syntax for contracts, contract inheritance, abstract contracts, interfaces, events, and libraries in Solidity.
- [Solidity Syntax - Using For, Error Handling, Global Variables](https://bex.co/docs/solidity/05): In this tutorial, we will cover Solidity syntax, specifically on using the using - for keyword, error handling, global variables, mathematical and…
## Reference
- [bex.co Refund Policy](https://bex.co/docs/refund-policy): At bex.co, we strive to provide high-quality bex router API services for blockchain developers. This Refund Policy outlines the terms and conditions under…
## b