The installation file (coroid.installation.v1) says what an installation
starts with. The installer applies it, and you can apply it again later from
the admin console (Settings → Installation file), with a preview of each
change first. It locks nothing: what you change in the admin console stays
until you apply a file that says otherwise.
The welcome pack holds a draft for each installation. Start from it.
A secret is never in the file
A field that takes a secret takes a reference to where the installer reads it:
{ "secret": "file:/etc/coroid/secrets/openai-key" }: a file on the server, readable by root only;{ "secret": "env:OPENAI_API_KEY" }: an environment variable of the installer's process.
The installer seals each value in the installation's own store. The file keeps only the reference, so it is safe to keep in version control.
The draft, section by section
{
"$schema": "https://coroid.ai/schemas/installation/v1.json",
"format": "coroid.installation.v1",
"installation": {
"id": "acme-production",
"name": "Acme production",
"addresses": {
"portal": "https://coroid.example.com",
"api": "https://api.coroid.example.com",
"adminConsole": "https://admin.coroid.example.com",
"previewDomain": "previews.coroid.example.com"
},
"closed": false,
"outbound": {
"releaseChannel": "https://releases.coroid.ai",
"capacityReport": "send",
"gitHosts": [],
"packageMirrors": [],
"certificateAuthorities": []
},
"edge": {
"certificate": "file:/etc/coroid/edge/fullchain.pem",
"privateKey": { "secret": "file:/etc/coroid/edge/privkey.pem" }
}
},
"administrators": ["ops@acme.example"],
"signIn": {
"ssoRequired": false,
"mfaRequired": true,
"invitations": { "allowedEmailDomains": ["acme.example"] },
"sessionHours": 12
},
"models": { "sources": [] },
"organizations": [
{
"slug": "acme",
"name": "Acme",
"agentSlots": 8,
"owners": ["ops@acme.example"]
}
]
}installation
id: the id the license names. Do not change it: a license for another id is refused.addresses: the four names from Server and network. Replace thecoroid.example.comnames with yours.closed:falsehere. A closed network is not covered by this guide yet.outbound: what may leave the installation.releaseChannelis where releases come from.capacityReportissend.gitHostsandpackageMirrorslist your own hosts when they need credentials or a certificate;proxygives an outgoing proxy;certificateAuthoritieslists your own certificate authorities, asfile:paths to their PEM files.edge: the certificate and key the edge serves.
administrators
The email addresses of the installation administrators. They sign in to the admin console. Only this file, or an installer command, makes someone an installation administrator.
signIn
The rules for everyone on the installation:
ssoRequired: everyone signs in through their organization's identity provider (see Sign-in through your identity provider).mfaRequired: everyone uses a second factor. A sign-in through the identity provider counts only when the provider says it asked for one; otherwise CoRoid asks for its own.invitations.allowedEmailDomains: who may be invited. An empty list allows any address.sessionHours: how long a sign-in lasts, at most 720 hours.
models
Where the agents' models come from. You can leave the list empty and add sources in the admin console (AI → Model sources). In the file, a source is a provider with your key:
{
"id": "openai",
"kind": "provider",
"provider": "openai",
"apiKey": { "secret": "file:/etc/coroid/secrets/openai-key" },
"models": [{ "id": "model-id-at-the-provider" }]
}or an OpenAI-compatible endpoint you run, such as a company gateway or a local model:
{
"id": "gateway",
"kind": "endpoint",
"name": "Acme model gateway",
"address": "https://llm.acme.example/v1",
"apiKey": { "secret": "env:GATEWAY_KEY" },
"models": [{ "id": "model-id-at-the-endpoint" }]
}The providers a source can name are openai, anthropic, openrouter,
moonshot, mistral, minimax and zai.
organizations
The organizations the installation starts with. Each has:
slugandname;agentSlots: its share of the license's agent slots. When the shares add up to more than the license holds, the admin console says so;owners: its first people. Each becomes an owner, with an account if they have none. They invite the rest.sso: its identity provider, if it signs in through one (see Sign-in through your identity provider).
An organization can also start with settings and workflows exported from another CoRoid organization.
Applying it again
To change what the file sets, edit it and open Settings → Installation file in the admin console. It shows each change before you apply it. Applying a file never deletes an organization it no longer names.
Next: Install.