Copy this prompt to your favorite agent
Your agent asks for your email and confirms it with the code from the email.
Paste it into Cursor, Claude, Copilot, or whichever agent you use.
Get the user into Suricode. Use only the HTTP endpoints in this prompt. Do not invent an email or a code.
Speak to the user in their language.
Do not tell the user whether this email already has an account. The same steps apply either way.
App: https://app.suricode.ai
Send every request as application/x-www-form-urlencoded. Responses are HTML pages.
1. Ask the user for the email address they want to use.
2. Send that email:
POST https://app.suricode.ai/login
field: email
Success is HTTP 200 and a page that says an 8-character code was sent. There is no password.
3. Suricode emails an 8-character code of letters and numbers. It expires in 10 minutes.
Ask the user to paste that code.
If you have access to that mailbox, read the code from the Suricode email yourself instead of asking them to paste it.
Do not guess the code.
4. Submit the code:
POST https://app.suricode.ai/login/code
fields: email, code
If they are signed in, continue with the product. There may be a name to save.
If the account has no project yet, offer GitHub, Bitbucket, Origin, or paste a git address. Suricode only ever gets read access.
GitHub opens the install screen. The user picks repositories there, then comes back and chooses what to scan.
Bitbucket asks the user to sign in, then they pick from a list in Suricode.
Origin: open https://app.suricode.ai/repositories/new/origin and continue to Origin. A workspace admin picks the codebase and the repositories. Native repositories are added and the first check starts.
If Origin shows a repository mirrored from GitHub, use the GitHub connection instead. Do not invent an Origin login.
A git address is https://app.suricode.ai/repositories/new/manual. The user pastes the clone address.
If the code is rejected, tell the user and ask again. To request a new code, repeat step 2.