Documentation
Quickstart
Deploy your first app on Rebasable in about five minutes, from GitHub, the CLI or your AI agent.
This guide deploys a small web app and gives you a public HTTPS URL. Pick the path that suits you.
1. Create an account
Sign up at dashboard.rebasable.com/signup with email, GitHub or Google. No credit card is needed for the free tier.
2a. Deploy from Git (dashboard)
- In the dashboard click New → Web service.
- Under Where is your code? pick GitHub, GitLab, Bitbucket, Gitea / Forgejo or Any Git URL. Connect the account once (for GitHub, install the Rebasable GitHub App on the repositories you want to deploy). See Connect GitHub, GitLab, Bitbucket, Gitea / Forgejo / Codeberg or any Git URL.
- Pick the repository and branch. We detect the language and fill in the build and start commands. Change them if you need to.
- Choose an instance type. Free is fine to start.
- Add environment variables if your app needs them, then click Create web service.
The first build starts right away and you can watch the logs live. When the deploy is Live, your app is at https://<service-name>.rebasable.com.
Every push to the branch deploys again automatically (you can switch this off under Settings → Source → Auto-deploy).
2b. Deploy from your terminal (CLI)
Install the CLI (requires Node.js 20 or newer):
curl -fsSL https://rebasable.com/install.sh | sh
Log in and deploy the current directory:
rebasable login
cd my-app
rebasable services create my-app --zip # upload this folder, build and deploy
Without --zip the CLI uses the git remote and current branch of your repository. Later deploys are just:
rebasable deploy # the directory is linked to the service
rebasable logs -f # follow the logs
2c. Deploy from your AI agent (MCP)
Create an API token under Account → API tokens, then add Rebasable to Claude Code:
claude mcp add --transport http rebasable https://api.rebasable.com/mcp \
--header "Authorization: Bearer rb_YOUR_TOKEN"
Ask: “Deploy this project to Rebasable and give me the URL.” See MCP setup for Cursor, VS Code and Claude Desktop.
3. Make sure your app listens on PORT
Web services must listen on 0.0.0.0 and the port in the PORT environment variable (default 10000):
// Node.js
const port = process.env.PORT || 10000;
app.listen(port, '0.0.0.0');
# Python (gunicorn)
# start command: gunicorn app:app --bind 0.0.0.0:$PORT
4. Add a database
Click New → PostgreSQL, pick the Free plan and create it. Then, in your web service, open Environment and add DATABASE_URL with the database’s internal URL (or link it with one click). Redeploy, and you are done.
Next steps
- Custom domains with automatic HTTPS
- Environment variables and secret files
- Spend caps before you move to paid instances
- Blueprints to describe your whole stack in one file