# Starting Krenalis At this point, **you've already**: 1. [Installed Krenalis from source](https://www.krenalis.com/docs/installation/from-source.md) 2. [Created the PostgreSQL database](https://www.krenalis.com/docs/installation/from-source/database-setup.md) 3. [Configured the NATS event stream](https://www.krenalis.com/docs/installation/from-source/event-stream-setup.md) and you should have, in the directory when Krenalis has been compiled, the following files: ### Linux and macOS ``` ├─ .env └─ krenalis ``` ### Windows ``` ├─ .env └─ krenalis.exe ``` The `.env` file must already contain `KRENALIS_KMS`, the PostgreSQL settings, and the NATS settings. Start Krenalis with the `-init-db-if-empty` option. On first startup, this initializes the PostgreSQL database by creating the required tables. If the database is already initialized, it has no effect. ### Linux and macOS ```bash ./krenalis -init-db-if-empty ``` ### Windows ```bash krenalis.exe -init-db-if-empty ``` After some seconds you should then get output similar to: ``` ... INFO The Krenalis server has been started at 127.0.0.1:2022 ├─ REST API: http://127.0.0.1:2022/v1/ └─ Event ingestion endpoint: http://127.0.0.1:2022/v1/events > Admin console: http://127.0.0.1:2022/admin ``` You can then open the Admin console at the address indicated (in this case [http://127.0.0.1:2022/admin](http://127.0.0.1:2022/admin)). ## Next step Now you can proceed with [creating your first workspace](https://www.krenalis.com/docs/create-workspace.md).