Self-Hosted Deployments¶
If you're running CloMan on your own infrastructure, override the default base URL when creating a client.
Configuration¶
Base URL Format¶
The base_url / baseUrl should be the root URL of your CloMan instance without a trailing slash or path:
https://cloman.your-company.com ✅ correct
https://cloman.your-company.com/ ✅ (trailing slash is stripped)
https://cloman.your-company.com/api ❌ don't include /api
The SDK appends /api/v1/public/decide automatically.
Environment Variable Pattern¶
Use an environment variable to switch between hosted and self-hosted:
Network Considerations¶
- Ensure your instance is accessible from the client's network.
- If using HTTPS (recommended), the SSL certificate must be valid or trusted by the client.
- Timeouts may need adjustment if your self-hosted instance has different latency characteristics.