On this pageThe screens

Setup Wizard

A browser-based installer that turns a fresh server into a running Grengin instance. It runs on the app's own address, so you finish on the sign-in screen.

3 min read v1

Note The wizard has no login until you finish it. Keep ports 22 and 80 restricted to your own IP and finish promptly.

The screens

Six tabs, seven steps: RAG sits under Advanced on the AI screen.

ScreenYou set
1. System CheckConnect to Grengin (required on AWS)
2. DatabaseLocal or external PostgreSQL
3. Domainongrengin.com or your own
4. OAuthYour own sign-in app
5. AISkip: add keys in AI Engines later
6. RAGRetrieval (defaults work)
7. FinalizeInstall

1. System Check

CheckBlocks?
RHEL or Debian family, or DockerYes
Port 443 freeYes
5 GB disk (10 recommended)Yes
Docker + Compose v2, if DockerYes
Root (else some features off)No
1 GB RAM (2+ recommended)No

A busy port shows a fix such as sudo ss -tulpen | grep :443.

The System Check step of the setup wizard

Connect to Grengin

On AWS, connecting is required: Continue stays disabled until connected.

  1. Get a pairing code Connect to Grengin opens grengin.com/connect in a new tab.

  2. Approve Sign in if asked, check the account and data → Approve connection.

  3. Connected The tab closes; the wizard shows your account and organization.

Code expired or rate limited? Click again.

  • Why Enables the free ongrengin.com subdomain, automatic Entra ID credentials and the Manage workspaces listing. Sign-in is still your own SSO app (step 4).
  • Shared Instance UUID, cloud, IP, region, image version, domain, features on. Identity key stays in /etc/grengin; no grengin.com login stored.
  • Never seen Prompts, completions, API keys, user identities. If grengin.com is down, the instance keeps running.

2. Database

OptionWhat happens
Install Locally (recommended)PostgreSQL + pgvector, a grengin database and user, generated password
External ServerHost, Port (5432), Username, Password, Database. Needs pgvector (vector)

Set up on an earlier run? The button reads Continue (Reuse DB).

The Database step with Install Locally and External Server options

3. Domain

Required, so sign-in has a stable HTTPS address. Continue sets up Nginx and the certificate.

OptionHow
ongrengin.com (Recommended)Connected AWS EC2 instances only. Use as domain, or Claim a custom name → for <name>.ongrengin.com (one per instance). HTTPS automatic
Custom domainHostname, Enable SSL (Let’s Encrypt), SSL Email. First point a DNS A record at the server and open port 80
The Domain step with the domain and SSL fields

4. OAuth

OptionYou enter
Google WorkspaceClient ID, Client Secret
Azure AD / EntraTenant ID, Client ID, Client Secret, or Generate credentials automatically (Global Administrator approves once)

Register the shown callback: https://<your-domain>/auth/google/callback or /auth/azure/callback.

AWS Grengin’s sign-in is only for workspaces created on grengin.com. On AWS, pick Google Workspace or Azure AD / Entra and register your own OAuth app, even when connected.

SSO Policy: you can leave it. After setup, decide who can join in Authentication (SSO):

  • Allowed domains: only these email domains can sign in; empty allows any.
  • Auto-provisioning: on, new people get an account at first sign-in and wait for an admin to approve them in Users; off, an admin adds them first. The Authentication step with the Google Workspace and Azure AD / Entra options and the SSO Policy section

5. AI

Click Skip. After setup, add your keys in Control Hub → AI Engines, where you also choose models.

Coming soon AI Credits, bought on grengin.com, so you can use models without a provider key.

The AI Providers step with key fields for OpenAI, Anthropic, Mistral and Gemini

6. RAG

Recalls relevant earlier messages. Under Advanced: RAG Settings on the AI screen.

SettingDefault
Enable RAGOn
Enable embeddingsOff
Recent Message Pairs / Top K3 / 4
Max Context Tokens8000
EmbeddingOpenAI text-embedding-3-small
SummaryOpenAI gpt-5.4-mini

Defaults need an OpenAI key in AI Engines.

7. Finalize

  1. Install Check the summary → Install.

  2. The wizard runs Secrets, /etc/grengin/.env, API, web app, Nginx, grengin service. Errors show red.

  3. Sign in Installation Complete! → Open Grengin. No default password; the first person becomes Super Admin.

The Install step with the configuration summary and the Install button

Next steps

Was this page helpful?
GitHub (opens in a new tab)