Agentic website setup guide
Section 1 of 4 · Create projectStep 1 of 31
ExitSection 1 of 4: Create project
- Create project
- Configure settings
- Clone and authorise
- Start editing
Open the Developer Platform

Create an application

Select a template

Choose the Astro Framework Starter

Set up your application
On the "Set up your application" page, configure the following:
- Git account: select your GitHub account or organisation.
- Create private Git repository: keep this ticked unless you want your code to be public.
- Project name: use lowercase letters and hyphens only (no spaces).
Once everything looks right, click the Deploy button.
my-org-website. You can always connect a custom domain later.
Deploying

Deployment complete

Project overview
.workers.dev URL at the top: this is your live site address. Click Settings to continue.
Open Domains & Routes

Select Custom domain

Add your custom domain
choose-a-subdomain.dhcy.sg). Cloudflare configures the DNS record and provisions an HTTPS certificate for you. Click Add domain to save.wrangler.jsonc file too, so your local setup stays in sync.
Open your Git repository

Find the clone URL on GitHub

Copy the clone URL

Open Antigravity

Paste the clone URL

Choose where to save it

GitHub authorisation prompt

GitHub device activation

Authorise your device

Authorise Antigravity

Authorisation complete

Possible permission error

Recover from missing organisation permissions

Open the repository

Describe what you want

Review the plan

Watch the agent code

Read the walkthrough

Preview your site

Publish to GitHub

You're all set!
Your Astro website is deployed on Cloudflare Workers, connected to GitHub and ready to edit with Antigravity. Every commit you make triggers a new build and deployment automatically.
did you know?We recorded and ran through this whole process ourselves to make sure it works. The test site we built (a Melaka Sultanate history website, because why not) is still live at choose-a-subdomain.dhcy.sg. What a name.
pro tipNow that your site is live, try asking Antigravity to add a free live chat widget. tawk.to is completely free and takes one prompt to install: ask "Add a tawk.to live chat widget to my website" and paste in your tawk.to embed code when prompted. Our free tools list has more tools that work well with this stack.