User guide
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.
/onboarding and submit their name, email, and organization.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]
SELF_SERVICE_ONBOARDING_ENABLED - explicit opt-in toggle (defaults to false).SYSTEM_EMAIL_PROVIDER - outbound system email provider registered through Communications Hub. Omit it or set resend for Resend; set ses for Amazon SES.RESEND_API_KEY - required when SYSTEM_EMAIL_PROVIDER is unset or resend.AWS_SES_REGION / AWS_REGION - required AWS region when SYSTEM_EMAIL_PROVIDER=ses; AWS_SES_REGION takes precedence.NOTIFICATIONS_EMAIL_FROM - optional notification-specific sender override. If set, it is used before EMAIL_FROM.EMAIL_FROM - default sender address visible to the recipient.APP_URL - public base URL used to build verification links.ADMIN_EMAIL - receives a notification each time someone submits the form and is also the final sender fallback when neither sender-specific variable is set.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:
NOTIFICATIONS_EMAIL_FROMEMAIL_FROMADMIN_EMAILIf 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.
admin role. Superadmin privileges are not granted automatically.SELF_SERVICE_ONBOARDING_ENABLED=false. The /onboarding endpoint rejects submissions (HTTP 404) and the home-page CTA disappears. Active verification links continue to work so in-flight signups can finish.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