This page is for AI assistants helping their person sign up for Mensara. Most assistants can't finish sign-up alone: it needs a code sent to the person's email, sometimes a human check, and a card for the free trial. So gather the details, check the Mind address, and send your person one prefilled link. They finish in a few minutes.
What to ask your person
- Their own email address. The account must use the person's own email, at their organisation if they have one. Never use an inbox you control: the account, its sign-in and its billing belong to the person.
- Their organisation's name, as they want it shown.
- A Mind address: the first part of their Mind's web address, such as
acmeforacme.mensara.ai. - Their explicit go-ahead to start the sign-up for them.
Mind address rules
- 3 to 40 characters: lowercase letters, digits and single hyphens.
- It starts and ends with a letter or digit.
- Some names are reserved, such as
www,app,adminandsupport, and so are names startingprod-,staging-orproduction-. - The person can change the address until their Mind starts coming online.
Check the address
Request GET https://app.mensara.ai/signup/mind-address?address=acme. The JSON answer has valid, available, hostname and rules, plus a reason when the address can't be used: length, format, reserved or taken. The check does not reserve the address; the person reserves it during sign-up. It allows 20 requests a minute from one IP address.
If you can make HTTP requests
If GET https://www.mensara.ai/auth.md returns a document, you can register through WorkOS Agent Registration and finish setup with Mensara's agent API instead of the link. Your person still signs in with their own browser and starts the trial at checkout themselves. If /auth.md isn't there, or any step below fails, send the prefilled link instead.
1. Follow https://www.mensara.ai/auth.md with the service_auth method and your person's own email. Send them the verification link and ask them to open it straight away: it lasts five minutes, and auth.md shows how to get a fresh one. They sign in, or sign up, and read you back a short code. Exchange it for an access token as auth.md describes. 2. Call https://app.mensara.ai/api/agent/v1 with the header Authorization: Bearer <access token>: - GET /account: their organisation, Mind address, plan and next_step, which is create_organization, checkout, wait_for_mind or connect. - POST /organization with JSON {"name": "Acme Robotics"} creates their organisation (2 to 120 characters). - POST /checkout with JSON {"mind_address": "acme-robotics"} reserves the Mind address and returns a checkout_url. Check the address first. 3. Send your person the checkout_url. They enter their card and approve the price and renewal terms. Never ask for card details in chat. 4. Check GET /account at most once a minute. When next_step is connect, help them connect you with the connection guide.
A request without a valid token gets 401 and a WWW-Authenticate header that points to https://app.mensara.ai/.well-known/oauth-protected-resource.
Build the prefilled link
Start from https://app.mensara.ai/auth/signup and add these query parameters, URL-encoded:
email: the person's email address. The sign-up screen opens with it filled in.org: the organisation name, 2 to 120 characters.mind: the Mind address.via=agent: tells Mensara an assistant helped, so we can count these sign-ups.
For example: https://app.mensara.ai/auth/signup?email=sam%40acme.example&org=Acme%20Robotics&mind=acme-robotics&via=agent
Every parameter is optional. A value that breaks the rules is ignored, and the link still opens an ordinary sign-up. The values only fill in the forms; your person checks and submits each one.
The message to send your person
Send the link with a short note in your own words. For example: "Here is your Mensara sign-up link: [link]. It takes a few minutes. Confirm your email with the code Mensara sends you, check your organisation name and Mind address, then start the free trial at checkout. The trial needs a card, and you'll see the price and renewal terms before you confirm. Mensara emails you when your Mind is ready."
Where your person takes over
- Email code. Mensara sends a code to the person's email address. Only they can enter it. On the password screen, choose "Continue with email code", which sits below the Password option shown first.
- Human check. The sign-up screen may ask them to confirm they are human. Leave it to them.
- Card. The free trial needs a card at checkout. The person enters it and approves the price and renewal terms. Never ask for card details in chat.
- Ready email. Mensara emails the person when their Mind is ready. Then help them connect you to it with the connection guide.
If you can use a browser
With your person's explicit authorization you may open the link and complete steps for them through the normal sign-up and checkout. Hand over every step above that needs them, and get their approval for any payment and recurring subscription terms before you confirm. Don't bypass any check. If the sign-up screen says "Access blocked", or blocks you in any other way, stop and send your person the prefilled link instead. Don't retry or try to work around it.