# From Render, everything on one plan

Tell your AI “Move my Render project to BitHut”. It brings the code, the environment and the Postgres data, checks the project here, and only then do you turn Render off.

## Tell your AI

1. Connect BitHut to your AI (Claude, ChatGPT or Codex): add the address `https://api.bithut.app/mcp`. How: https://bithut.app/connect.md
2. Then tell it:

```
Move my Render project to BitHut
```

## How the move goes

1. **Connect BitHut once.** Add BitHut to Claude Code, Codex or Cursor, in the folder of your project.
2. **Environment into a file.** Render has no export button, so you copy the values into a .env file on your computer, or your AI reads them with your Render API key.
3. **Code, keys, database.** The code comes from the same GitHub repository Render deploys, the keys from the file, the Postgres data straight from Render. The project waits here, paused.
4. **You switch over.** Suspend the Render service. Your AI resumes the project on BitHut and checks it works.

## What your AI takes from Render

- **The environment.** It goes into a `.env` file on your computer and from there straight into BitHut's secret storage, never through the chat. Copy the values from an Environment Group too: Render's API does not list them with the service.
- **The database.** Render gives two addresses: the Internal Database URL works only inside Render, the External Database URL works from outside and needs `sslmode=require`. BitHut uses the external one. If you limited who may connect, allow BitHut's address for the copy.
- **The code.** Render deploys from GitHub, GitLab or Bitbucket. BitHut deploys straight from a GitHub repository, or from your project folder.
- **Files on a disk.** Copy them off with SCP over Render's SSH, and they go onto the project's disk here.

## A web service, a worker and a cron job are all projects

On BitHut each is a project on your plan: a site, something that runs all the time, or a script on a schedule. They do not sleep after quiet minutes, and adding one does not add a bill.

## If something goes wrong

The database copy starts with a restore point of the project's own database, and the data from before stays for 7 days. Keep the Render service suspended, not deleted, for at least 3 days.

## Templates to start from

- [Telegram bot](https://bithut.app/templates/telegram-bot.md): A bot in Telegram that does what you ask: answers customers, takes bookings, reminds, looks things up. It stays online even when your laptop is closed.
- [Daily report](https://bithut.app/templates/daily-report-to-telegram.md): Every morning it takes yesterday's numbers and sends a short summary to your team chat, your e-mail or both.
- [Dashboard from Google Sheets](https://bithut.app/templates/sheets-dashboard.md): A web page with charts from your Google Sheet, behind a password, for your team.
