docs/self-hosting/guides/organization/organization-setup.mdx
This guide will walk you through setting up and configuring the organizations feature for your self-hosted Cal.com instance. Organizations allow you to create branded, multi-tenant environments within your Cal.com deployment.
Before setting up organizations, ensure you have:
[email protected]Set the following environment variables in your .env file:
NEXT_PUBLIC_WEBAPP_URL=http://app.cal.local:3000
NEXT_PUBLIC_WEBSITE_URL=http://app.cal.local:3000
NEXTAUTH_URL=http://app.cal.local:3000
ORGANIZATIONS_ENABLED=1
Add the following entry to your hosts file to enable local access:
127.0.0.1 app.cal.local
Host file locations:
/etc/hostsC:\Windows\System32\drivers\etc\hostsAfter making the configuration changes, start/restart your development server:
yarn dev
[email protected] (or any user account)http://app.cal.local:3000/settings/organizations/newmyorg)Now if everything above went well, all booking pages for the organization will be accessible at:
http://myorg.cal.local:3000/{CAL_LINK}
Read more about some other Organization related environment variables to configure your Cal.com instance to work with multiple organizations.