Subpath in Collate
To configure Collate to operate under a subpath (e.g.,/openmetadata)—useful when deploying behind a reverse proxy or load balancer—you need to adjust specific settings in the openmetadata.yaml configuration file.
Configuration Steps
1. Set the Base Path
Define thebasePath parameter to configure the application’s root context, and ensure that the publicKeyUrl is updated accordingly to reflect the new base path.
This sets the root context for the application.
2. Configure Web Paths
Adjust the web-related paths to align with the specified base path.applicationContextPath: Defines the context path for the web application.rootPath: Specifies the root path for API endpoints. GitHub
3. Set Asset Paths
Ensure that asset paths are correctly prefixed with the base path.resourcePath: Path to static resources.uriPath: URI path prefix for assets.

Example Configuration
Here’s how the relevant section of youropenmetadata.yaml might look:
Deployment Considerations
- Reverse Proxy Configuration: Ensure that your reverse proxy (e.g., NGINX, Apache) is configured to forward requests to the Collate application with the correct subpath.
- Environment Variables: You can override the default base path by setting the BASE_PATH environment variable in your deployment environment. Ensure that related parameters such as basePath, applicationContextPath, rootPath, and publicKeyUrl are updated to reflect this change.
- Static Assets: Verify that static assets are accessible under the new subpath to prevent broken links or missing resources.
-
MCP Server: The MCP endpoint and its OAuth routes are served under the base path, for example
https://your-host/openmetadata/mcp. Set the MCP base URL in the MCP Server application settings to the external URL that includes the base path, for examplehttps://your-host/openmetadata. A trailing slash is ignored. If the base URL is missing the base path, the server logs a warning at startup. -
MCP Discovery URLs: The server answers
https://your-host/openmetadata/mcp/.well-known/oauth-authorization-server,https://your-host/openmetadata/mcp/.well-known/openid-configuration, andhttps://your-host/openmetadata/mcp/.well-known/oauth-protected-resource. Clients that look only forhttps://your-host/.well-known/...at the host root need a reverse proxy route that forwards those requests to Collate.