Getting Started with Claude Code & IDEs
Use xhost from your local terminal or editor — Claude Code, Codex, Cursor, or any AI tool that can fetch a URL and run shell commands.
Sign in to xhost
Go to xhostd.com and click
Sign in with Google. On first sign-in you'll be asked to pick a
username — that becomes part of your project URLs (e.g.
my-site-yourname.xhostd.com).
Create an API token
Visit
xhostd.com/tokens?label=claude-code
and click Create token. The token (starts with
xh_) is shown once — copy it now and keep it somewhere
safe.
Load xhost into your AI tool
Open your AI coding tool (Claude Code, Codex, Cursor, etc.) and paste this command to teach it how to work with xhost:
Fetch xhost deployment instructions from https://docs.xhostd.com/llms-full.txt
This gives your AI tool everything it needs to create apps, deploy code, and manage your projects on xhost.
Tell it what to build
Describe what you want and include your token in the first message:
My xhost token is xh_abc123...
Build a landing page for my coffee shop called "Bean There".
Deploy it to xhost.
Your AI tool will create the site, push the code, and deploy it. When it's done,
you'll get a live URL like https://bean-there-alice.xhostd.com.
Other things you can ask for:
- "Build me a portfolio site with my projects"
- "Create a REST API for my mobile app"
- "Make a multiplayer game I can share with friends"
- "Set up a webhook handler for my Slack bot"
- "Build a small CRUD app with logins"
Make changes
Want to update your project? Just tell your AI tool what to change. It will update the code and redeploy automatically.
You can also share a preview link before going live — ask your AI tool to "deploy a preview" and it will create a separate URL you can share for feedback.
Every project gets a database wired in automatically — your app
reads DATABASE_URL and your AI tool takes care of the rest.
The API reference covers schema reset and SQL
dump if you ever need them.