Skip to Content
Toucan AI Docs

Network requirements

The DNS names, inbound routes and outbound connections a Toucan AI instance needs.

Inbound

HostServes
The app, e.g. toucan.example.comThe app at /, its API at /api, and the OAuth discovery of the agent connection at /.well-known/
The docs, e.g. docs.toucan.example.comThese docs, for the version you run
A wildcard on another domain, e.g. *.usercontent.example.netCustom fronts, one subdomain per organization: it needs wildcard DNS and a wildcard certificate

The docs host is optional when AI is off or the backend pods reach the internet: the app and its assistant then use docs.toucanai.cloud, which documents our latest version rather than the one you run.

Custom fronts run code that your makers write. Serve them from another domain than the app's, example.net rather than example.com here: otherwise a front could set cookies that the app then receives.

The app must own its host's root: it cannot be served under a path prefix.

Outbound

Toucan AI only connects to the services you configure:

  • PostgreSQL, Redis, the bucket and the SMTP server;
  • the LLM and embeddings endpoints;
  • the databases your users connect as data sources;
  • your identity provider, for SSO.

The license is checked offline, so it needs nothing from us at runtime, except our docs when you don't serve them.

The assistant reads these docs from the backend pods, so they must resolve and reach the docs host.

Internal identity provider

The backend calls the OpenID Connect endpoints itself, so they must use HTTPS and resolve to public addresses: otherwise an organization owner setting up SSO could make it call your internal services. SAML has no such restriction.

If your identity provider runs inside your network, list its origin in SSO_OIDC_TRUSTED_ORIGINS, comma-separated. Only these origins skip the check, and they must still use HTTPS:

backend:
  config:
    SSO_OIDC_TRUSTED_ORIGINS: https://idp.example.internal

Internal certificate authority

If your services use certificates signed by your own certificate authority, put its PEM bundle in a ConfigMap and point extraCaCerts at it. The backend and the data service then trust it on top of the public ones: for the LLM, the SMTP server, the identity provider and the data sources. A Secret that already holds it, such as one cert-manager issued, works too: set extraCaCerts.secret instead, and only its ca.crt is mounted.

kubectl create configmap internal-ca --from-file=ca.crt=internal-ca.pem
extraCaCerts:
  configMap: internal-ca

Some data sources check their certificates on their own:

  • Oracle ignores this bundle and only trusts the TLS wallet of the connection. Create an auto-login wallet that holds your CA with orapki, which comes with the Oracle Database server and the full Oracle client, then upload wallet.zip:

    orapki wallet create -wallet ./wallet -auto_login_only
    orapki wallet add -wallet ./wallet -trusted_cert -cert internal-ca.pem -auto_login_only
    zip -j wallet.zip ./wallet/cwallet.sso
  • MySQL verifies the certificate in the Verify CA and Verify Identity SSL modes, against the connection's SSL CA: paste your CA there.

  • PostgreSQL encrypts the connection when the server supports TLS, but does not verify its certificate.

On this page