Docs/Getting Started/Initial Setup

Initial Setup Guide

Complete first-run configuration for your Hygate workspace.


Accessing the Setup Wizard

Navigate to /setup on your Hygate instance. This page is only accessible before an administrator account exists. Once you complete setup, the page redirects to login.


Step 1: Create Administrator Account

FieldDescription
EmailYour admin email address. Used for login and 2FA.
PasswordA strong password (min. 8 characters). Store this securely.
Confirm PasswordRe-enter your password to confirm.

Step 2: Workspace Basics

FieldDescription
Company NameDisplayed on payment pages and emails.
Default Access PriceDefault price in EUR for new doors. Can be overridden per door.
Default Access DurationDefault duration in minutes for new doors. Can be overridden per door.
CurrencyAll payments processed in this currency. EUR is the default and recommended.

Step 3: Configure 2FA (Recommended)

Choose a two-factor authentication method:

MethodDescriptionRecommended For
Email OTPA 6-digit code is sent to your email on each loginTeams without smartphones
Authenticator AppUse Google Authenticator, Authy, or any TOTP appMaximum security
Either methodLet users choose their preferred 2FA methodMixed teams

We strongly recommend enabling 2FA for administrator accounts, even in test environments.


Completing Setup

Click Complete Setup to create your account and access the dashboard.

You will be redirected to the login page. Enter your credentials to access the dashboard.


Post-Setup Checklist

After completing initial setup:


Resetting the System

If you need to start fresh:

Warning: This permanently deletes all data.

  1. Delete the database and recreate it
  2. Delete the prisma/migrations folder
  3. Run npx prisma migrate deploy
  4. Navigate to /setup to begin again

Contact your hosting provider for database reset procedures specific to your deployment.