Getting Started with Airdraft Cloud
Create your account, set up a team and project, and make your first content API call in under 10 minutes.
This guide walks you through creating your Airdraft Cloud account, setting up a team and project, connecting GitHub, and making your first content API call.
Self-hosting instead? Skip to Self-hosted Quickstart.
Step 1 — Create your account
- Go to app.airdraft.space.
- Click Sign up and enter your email address.
- Check your inbox for a magic link or one-time code.
- Click the link to land on the dashboard.
You can also sign in with GitHub or Google if you prefer.
Step 2 — Create a team
After your first login, you'll be prompted to create a team. Teams are the top-level billing and membership unit.
- Enter a team name (e.g. your company or project name).
- Click Create team.
Your team is created and you land on the team dashboard. You're the admin by default.
Tip: Invite collaborators later from Settings → Team.
Step 3 — Create a project
A project is one CMS instance — one schema, one set of content, one API endpoint.
- Click New project in the sidebar.
- Enter a project name (e.g.
My Blog). - Click Create.
Your project is created with a unique API URL:
https://api.airdraft.space/cms/<project-id>/
Step 4 — Connect GitHub (optional)
Connecting GitHub lets Airdraft sync your content as MDX/JSON files in a repository — useful as a backup or to enable Git-based workflows.
- In your project, go to Settings → GitHub.
- Click Connect GitHub and authorise the Airdraft GitHub App.
- Select the repository and branch to sync content to.
- Click Save.
Content you create in the dashboard will now be committed to the repository automatically.
Step 5 — Get your API key
Your API key authenticates requests from your frontend or server to the CMS API.
- Go to Settings → API Keys.
- Click New API key, give it a name, and click Create.
- Copy the key immediately — it's shown only once.
Store the key in an environment variable:
# .env.local
CMS_API_KEY=ntk_xxxxxxxxxxxxxxxx
NEXT_PUBLIC_CMS_API_URL=https://api.airdraft.space/cms/<project-id>
Step 6 — Make your first API call
Install the client:
npm install @airdraft/client
Then query your content:
// lib/cms.ts
import { AirdraftClient } from '@airdraft/client'
export const client = new AirdraftClient({
apiUrl: process.env.NEXT_PUBLIC_CMS_API_URL!,
auth: { type: 'apiKey', token: process.env.CMS_API_KEY! },
})
// Fetch all published posts
const result = await client.entries.list('posts', { status: 'published' })
// result.data → entry objects
// result.meta → { total, page, pages, hasNext, hasPrev }
If you haven't defined any collections yet, the response will be empty. Continue to Define your schema next.
Step 7 — Define your schema
Head to your project's Schema tab in the dashboard. The visual schema editor lets you create collections and add fields without touching a config file.
Alternatively, you can define the schema in code — see Defining your schema.
Resources
@airdraft/clienton npm — typed HTTP client@airdraft/nexton npm —createCmsClient(server-side, no HTTP)@airdraft/reacton npm — React hooks for client components- app.airdraft.space — Airdraft Cloud dashboard
- GitHub — aevrHQ/airdraft