Overview
amabledata does not run on our servers. It runs inside your own Cloudflare account: the application, the database, the files, the queues and the web analytics all live there, and Cloudflare bills you directly for what they use. This chapter takes you from “I have never opened Cloudflare” to “my account, domain and API token are ready”, one page at a time.
Overview
Section titled “Overview”Cloudflare is a cloud platform. amabledata uses these Cloudflare products:
| Cloudflare product | What amabledata uses it for |
|---|---|
| Workers | Runs the two amabledata programs: the main application (dashboard, API, automations, email) and the edge worker (tracking, hosted forms, booking and landing pages, email links). |
| Durable Objects | One small private database per workspace (CRM, email, automations), per booking calendar, per landing page being edited and per tracked website. |
| D1 | The installation database: users, sessions, workspaces, memberships, domains. |
| R2 | Files, images, analytics archives and the daily backups. |
| Queues | Background work: sending emails, delivering webhooks, processing form submissions and analytics events. |
| Cron Triggers | A job that runs every 5 minutes (backups, analytics sync, ad spend sync, domain checks, update check). |
| DNS and Registrar | Your domain, the records that point it at amabledata and the email authentication records. |
| Turnstile | Bot protection on sign-in and public forms. |
You do not have to understand these products to use amabledata. You only have to prepare the account once, following the pages below in order.
How it works
Section titled “How it works”There are two ways to run amabledata, and both need a Cloudflare account:
- amabledata Cloud (managed). You sign up at app.amabledata.com. A guided onboarding asks you to prepare a Cloudflare account, create an API token and paste it. The installer then creates everything in your account and keeps it updated.
- Self-hosted (open source). You install amabledata yourself from the public repository with a setup script. You log in to Cloudflare from your terminal; no API token is pasted anywhere.
What you prepare on Cloudflare is almost the same in both cases:
| Step | Cloud | Self-hosted |
|---|---|---|
| Create a Cloudflare account | Required, dedicated to amabledata | Required, dedicated recommended |
| Verify the email and turn on two-factor authentication | Required | Required |
| Activate Workers Paid | Required (checked automatically) | Required |
| Enable R2 | Required (checked automatically) | Required |
| Add a domain (buy one or move one) | Optional at first, needed for email and custom hostnames | Optional at first, needed for email and custom hostnames |
| Create the custom API token | Required | Not needed for the install (you use wrangler login); an optional token automates DNS later |
| Connect your domains | Done for you through the API | You do it in the dashboard or let the in-app wizard do it |
Step by step
Section titled “Step by step”Prepare Cloudflare for amabledata
Section titled “Prepare Cloudflare for amabledata”-
Create the account. Sign up, verify your email, turn on two-factor authentication and copy your Account ID. See Create a Cloudflare account.
-
Get a domain. Either buy a new domain with Cloudflare Registrar, or move a domain you already own to Cloudflare DNS without breaking your website or email. You can skip this for now and come back later.
-
Activate the plan. Add a payment method, switch to Workers Paid and enable R2. See Plans and billing.
-
Create the API token (Cloud edition, or self-hosted DNS automation). See Create the API token for the exact list of permissions and why each one is needed.
-
Add optional credentials only if you need them: custom-hostname tracking domains, ad platform apps, Google apps. See Optional tokens and secrets.
-
Connect your domains to amabledata: the app hostname, the tracking hostname, the email sending domain and tracking domains. See Connect your domains.
Reference
Section titled “Reference”Time and cost at a glance
Section titled “Time and cost at a glance”| Step | Time you spend | What can make it slower |
|---|---|---|
| Create the account | 5 minutes | The verification email landing in spam |
| Buy a domain | 5 minutes | None: the domain is active immediately |
| Move a domain | 15 minutes of work | Name server propagation (minutes to 24 hours) |
| Plans and billing | 5 minutes | A card being declined |
| API token | 10 minutes | None |
Cloudflare usage is billed by Cloudflare, not by amabledata. The Workers Paid plan is $5/month plus usage, and for most accounts the total is typically between $5 and $25 per month. See Plans and billing.
Words you will meet
Section titled “Words you will meet”| Term | Meaning |
|---|---|
| Account | The Cloudflare container that holds Workers, databases, domains and billing. One login (user) can belong to several accounts. |
| Account ID | A 32-character identifier of an account. You need it for some API and command-line operations. |
| Zone | A domain added to Cloudflare (for example example.com), with its DNS records. |
| Name servers | The servers that answer “where is this domain?”. Moving a domain to Cloudflare means pointing its name servers at the two Cloudflare gives you. |
| Registrar | The company where you bought (registered) the domain. It can be Cloudflare or any other company. |
| Worker | A program that runs on Cloudflare’s network. amabledata installs two: amable-core and amable-edge. |
| workers.dev | The free address Cloudflare gives every Worker, https://<worker>.<your-subdomain>.workers.dev. |
| API token | A key that lets a program act on your account with exactly the permissions you choose. |
Limits and permissions
Section titled “Limits and permissions”- You must be able to sign in to the Cloudflare account with the Super Administrator role (the person who created the account has it) to activate plans and add payment methods.
- amabledata’s hosted onboarding requires the Cloudflare account to be dedicated to amabledata. See why.
- Inside amabledata, only workspace members with the right role can connect domains. See Roles and permissions.
Troubleshooting
Section titled “Troubleshooting”| Symptom | Cause | Fix |
|---|---|---|
| A menu named in these pages does not exist | Cloudflare renamed or moved it | Use the dashboard search (Ctrl+K or Cmd+K) or the direct links on each page. |
| You see several accounts after signing in | Your login is a member of more than one account | Pick the account you created for amabledata from the account list before you follow any step. |
| The Cloud onboarding refuses to continue | One of its automatic checks failed | Each step shows the reason. See the troubleshooting tables of Create the API token and Plans and billing. |

