Open MercatoDocsSearch docsAPI reference

User guide

Self-service onboarding

Enable public onboarding only for an instance where visitors should be able to create their own workspace. Check which data and access the new account receives before opening the flow.

⚠️ Default: disabled. Keep this flow off in most production environments. Enable it only for demos, sandboxes, or tightly controlled programs.

Self-service onboarding illustration

What happens when it is enabled

  1. Visitors open /onboarding and submit their name, email, and organization.
  2. They confirm the terms of service and receive a verification email.
  3. After confirming, Open Mercato provisions a tenant + organization, seeds demo CRM data, and creates an admin user for the submitted email.
  4. Administrators receive an email notification with the details so they can monitor new sign-ups.

Environment variables

Self-service onboarding activates only when all of these values are present:

SELF_SERVICE_ONBOARDING_ENABLED=true
SYSTEM_EMAIL_PROVIDER=resend
RESEND_API_KEY="<resend-api-key>"
[email protected]
[email protected]
APP_URL=https://your-domain.com
[email protected]

For Amazon SES, the sender address must belong to a verified SES identity and the runtime must have AWS credentials through the standard AWS SDK credential chain, such as an instance role or environment credentials.

Sender precedence for Open Mercato emails is:

  1. NOTIFICATIONS_EMAIL_FROM
  2. EMAIL_FROM
  3. ADMIN_EMAIL

If you rely on the fallback, make sure ADMIN_EMAIL is a valid sender address accepted by your email provider.

Restart the app after changing environment variables.

User experience FAQs

Enabling and disabling

When to use it

Use self-service onboarding for demos or sandbox environments where automated tenant creation is helpful. For production systems where each customer must be vetted, keep the flag disabled and onboard organizations manually through the directory module.

Previous: Search the back office · Next: Storage Hub — S3 Integration