Connect your app
Zafe for Builders only reads: it changes nothing in your GitHub or Supabase. You can disconnect whenever you want.
The panel is in Portuguese for now. The button names below are in quotes, as they appear on screen, with the English in brackets.
Before you start
- Invitation. The beta is invite-only. Use the email or the GitHub account that was invited. If you sign in with GitHub and your verified email is the invited one, both end up in the same account.
- GitHub. You must be an admin of the repository. If it belongs to an organisation, its owner may have to approve the request.
- Supabase. Use an Owner or Administrator account of the organisation that has the project.
- One browser. Do each connection in one go, without switching browsers, in under 10 minutes.
1. Sign in
- Open construir.zafe.pt (or build.zafe.pt).
- With email: type the invited email, then the 8-digit code you receive.
- Or click «Continuar com GitHub» (Continue with GitHub).
2. Supabase
- In «Ligações» (Connections), click «Ligar Supabase» (Connect Supabase).
- In Supabase, pick the organisation that has your project. The request is read-only for «Database» and «Projects»: if it asks to change anything, do not authorise and write to us.
- Authorise.
- Back in the panel, pick the project and click «Escolher esta app» (Choose this app). The first test starts right away.
The authorisation covers the whole organisation (one at a time), but we only read the projects you pick, and never the rows of your tables.
3. GitHub
- In «Ligações» (Connections), click «Ligar GitHub» (Connect GitHub) and authorise. This only says who you are.
- GitHub asks where to install: pick your account, or the organisation that owns the repository.
- Pick «Only select repositories» and tick only your app’s repositories. The request is read-only for the code and the repository’s basic data.
- Click «Install». If the button says «Request» or «Install and request», the organisation owner must approve it: once approved, click «Ligar GitHub» again.
- In your app, open «Código» (Code), pick the repository and its role (site, server, Android, iOS) and click «Juntar» (Add). A new test starts, now with the code.
To add more repositories: «Escolher repositórios» (Choose repositories). If you added them on GitHub and they do not show up: «Atualizar a lista» (Refresh the list).
4. Your AI (MCP)
- Add the Zafe MCP server to your editor: https://construir.zafe.pt/mcp (in Claude Code: «claude mcp add --transport http zafe https://construir.zafe.pt/mcp»).
- Your AI asks you to approve the connection in the panel, app by app.
- Then ask it: «Check what is open in my app on Zafe, show me each fix and only apply it after I say yes.»
If you see an error
Disconnect
- In «Ligações», click «Desligar Supabase» or «Desligar GitHub» (Disconnect). We cut access on their side and delete what gave access.
- If we cannot cut it, we tell you where to remove it. In a GitHub organisation, only an owner can uninstall it.
What we read and what we keep
We read the code without running it and do not store it. Your code only goes to an AI model if you choose one, app by app: Zafe’s, your own, or none. With no choice, none.
Still stuck? Write to geral@zafe.pt.