Initial setup
For external accounts, use the Integrations overview to choose hosting, Git, SSH, or Cloudflare. Configure only the connections needed for your first workflow; a provider account is not required for manual node enrollment.
The setup wizard establishes the first administrator and the initial security posture of the Opfield instance. Complete it after the control-plane services are healthy. The wizard also works from a LAN IP, but it never takes the browser’s address as the public URL: you enter that URL yourself, and browser cookies, redirects, generated links, and identity-provider configuration depend on it. Sign-in later happens on the public URL.
The person completing setup temporarily owns the most privileged operation in the installation. Use a controlled administrator workstation, avoid screen sharing, and keep the installer-provided setup code private until it has been consumed.
Before opening the wizard
Section titled “Before opening the wizard”Confirm that:
- the canonical URL you will enter is the address users will open;
- the Opfield application, PostgreSQL, Redis, and Relay are healthy;
- the intended sign-in option is ready: outbound HTTPS from the Opfield host to
account.opfield.devfor the Opfield account, or an OIDC provider reachable from both the browser and Opfield; - the first administrator’s address and identity are correct;
- a second trusted person or documented break-glass procedure will provide recovery coverage.
If OIDC will be the primary method, create the client in the identity provider using the exact redirect URI shown by Opfield. Scheme, hostname, path, and port must match. Do not guess the callback or normalize it through an extra proxy redirect.
Complete initial setup
Section titled “Complete initial setup”- Open Opfield and enter the valid setup code. Then start a new installation, or choose Restore from an export to bring an existing one here.
- Enter the public URL and review the network settings: the public gRPC target embedded in Node enrollment commands and an optional local gRPC IP. Detected addresses are only suggestions.
- Choose how people sign in: Opfield account, Your OIDC provider, or Password + authenticator app.
- Complete the steps of that option; see below. The first administrator comes from it: the person who connects the Opfield account, or the name and email you enter.
- Choose structured logging: disabled, managed local ClickHouse, or an external ClickHouse. Both storage options need the Business plan; without it, keep logging disabled and turn it on later in Settings.
- Check Review configuration and apply it. The wizard then asks for a license key or Continue with Community, and finally offers AI Workspace, which you can skip.
- Complete setup and sign in through the normal login page rather than continuing to rely on bootstrap state.
- Store recovery material in the approved secrets system and invalidate any temporary copy.
Successful completion consumes the bootstrap path. The setup code is not an ongoing administrative credential and should not be retained as a substitute for a recovery account.
Choose authentication deliberately
Section titled “Choose authentication deliberately”The wizard offers three options. The Opfield account and your own OIDC provider are exclusive, because an installation has one OIDC provider. A password without a second factor is not offered. Existing installations keep their sign-in, and everything here can be changed later in Settings > Authentication.
Opfield account. Connect with Opfield account sends the browser to your account. Sign in there and confirm the installation; the account sends the browser back to the wizard with a connect code, and Opfield then asks it for a sign-in client. The step waits a few seconds for the client and offers Retry after a minute. Enter a code instead takes a code made in account.opfield.dev under Installations > Add. The person who created or confirmed the code becomes the first administrator, so the wizard asks for no administrator details; their first sign-in with that verified email binds the account. Choosing another option after connecting asks for confirmation and disconnects the installation again.
Your OIDC provider. Enter the issuer, client ID and secret, redirect URI (<public URL>/auth/callback), and scopes, then the administrator’s name and email. Their first sign-in through the provider with that email claims the account. It centralizes identity lifecycle and policy, but Opfield still applies its own groups and scopes after authentication. Test sign-in and sign-out, account matching, and provider downtime behavior before making it the only administrative path.
Password + authenticator app. The administrator step creates the administrator with their password at once. The next step enrolls an authenticator app with a QR code and a 6-digit confirmation, and shows the recovery codes once. Setup cannot be applied before that, and the system-admin group requires a second factor from then on. This option needs no SMTP. Also allow an email code offers a one-time email code next to the password and adds the SMTP step; verify that an actual code reaches the intended mailbox.
Passkeys are enrolled after the primary account exists, in Profile, and can act as a strong MFA-capable factor. Register more than one suitable authenticator when policy permits and document account recovery if a device is lost. An administrator locked out of their sign-in gets a one-time link on the host; see Admin recovery sign-in.
Opfield does not support SCIM yet. SCIM provisioning is planned, but no release date is guaranteed. Until it is available, manage users and groups in Opfield or automate the supported administration flow through the REST API with a scoped OAuth client if your identity system can call external APIs. OIDC sign-in proves identity; it does not provision or remove Opfield access by itself.
Establish the administrative baseline
Section titled “Establish the administrative baseline”Immediately after the first successful login:
- create or verify a second administrative recovery path;
- configure MFA where organizational policy requires it in Settings > Authentication;
- open Profile > Authorizations, review active sessions, and revoke bootstrap or test sessions no longer required;
- configure least-privilege groups before inviting normal users;
- verify license status and enabled feature settings;
- configure notifications for control-plane and node failures;
- create an encrypted backup and confirm that the secret-encryption key is included in the recovery procedure;
- record the canonical URL, identity-provider ownership, and emergency access process in the operator runbook.
Do not give ordinary operators the system administrator role merely to get started. Resource-scoped access can be introduced before the first production workload and is easier to reason about than removing broad access later.
Verify and recover safely
Section titled “Verify and recover safely”Use a fresh private browser session to confirm the normal login path. Verify that the first administrator can sign in, complete MFA, reach Profile, and see only the expected authorizations. If OIDC is configured, also confirm logout and a second sign-in so a cached bootstrap session does not hide a redirect problem.
If the wizard rejects the setup code, confirm that it has not expired or already been consumed and that the browser is reaching the same instance that generated it. If the wizard loops or loses the session, investigate canonical URL, forwarded host/scheme, cookie security, and time synchronization. If it fails after writing part of the configuration, inspect application and migration logs before retrying; do not delete the database or generate a new installation merely to clear the page.
Once normal administration and recovery are verified, continue with Add your first node.