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.
- AWS Open
http://<public-ip>/after boot (AWS Marketplace)
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.
| Screen | You set |
|---|---|
| 1. System Check | Connect to Grengin (required on AWS) |
| 2. Database | Local or external PostgreSQL |
| 3. Domain | ongrengin.com or your own |
| 4. OAuth | Your own sign-in app |
| 5. AI | Skip: add keys in AI Engines later |
| 6. RAG | Retrieval (defaults work) |
| 7. Finalize | Install |
1. System Check
| Check | Blocks? |
|---|---|
| RHEL or Debian family, or Docker | Yes |
| Port 443 free | Yes |
| 5 GB disk (10 recommended) | Yes |
| Docker + Compose v2, if Docker | Yes |
| 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.
Connect to Grengin
On AWS, connecting is required: Continue stays disabled until connected.
-
Get a pairing code Connect to Grengin opens grengin.com/connect in a new tab.
-
Approve Sign in if asked, check the account and data → Approve connection.
-
Connected The tab closes; the wizard shows your account and organization.
Code expired or rate limited? Click again.
- Why Enables the free
ongrengin.comsubdomain, 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
| Option | What happens |
|---|---|
| Install Locally (recommended) | PostgreSQL + pgvector, a grengin database and user, generated password |
| External Server | Host, Port (5432), Username, Password, Database. Needs pgvector (vector) |
Set up on an earlier run? The button reads Continue (Reuse DB).
3. Domain
Required, so sign-in has a stable HTTPS address. Continue sets up Nginx and the certificate.
| Option | How |
|---|---|
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 domain | Hostname, Enable SSL (Let’s Encrypt), SSL Email. First point a DNS A record at the server and open port 80 |
4. OAuth
| Option | You enter |
|---|---|
| Google Workspace | Client ID, Client Secret |
| Azure AD / Entra | Tenant 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.
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.
6. RAG
Recalls relevant earlier messages. Under Advanced: RAG Settings on the AI screen.
| Setting | Default |
|---|---|
| Enable RAG | On |
| Enable embeddings | Off |
| Recent Message Pairs / Top K | 3 / 4 |
| Max Context Tokens | 8000 |
| Embedding | OpenAI text-embedding-3-small |
| Summary | OpenAI gpt-5.4-mini |
Defaults need an OpenAI key in AI Engines.
7. Finalize
-
Install Check the summary → Install.
-
The wizard runs Secrets,
/etc/grengin/.env, API, web app, Nginx,grenginservice. Errors show red. -
Sign in Installation Complete! → Open Grengin. No default password; the first person becomes Super Admin.
Next steps
- Users Add your team.
- AI Engines Add or check model keys.
- Server Administration Services, logs, updates and backups.