Binary
Run Marmot directly on a server from the single binary, against a PostgreSQL database you already have.
Install
Homebrew
brew install marmot
Install script
curl -fsSL get.marmotdata.io | sh
Verify scripts
Download the binary
Download the latest Marmot binary for your platform from GitHub Releases.Make it executable
chmod +x marmotMove to your PATH
sudo mv marmot /usr/local/bin/
Start the server
Generate an encryption key
Marmot encrypts the credentials it stores with this key. Keep it somewhere safe, because losing it means re-entering every stored credential:
marmot generate-encryption-keyCreate a config file
Save your database settings as
config.yaml:database:host: localhostport: 5432user: marmotpassword: "<database-password>"name: marmotStart the server
marmot runreadsconfig.yamlfrom the current directory, or the file you pass with--config:export MARMOT_SERVER_ENCRYPTION_KEY="<encryption-key>"marmot run --config config.yamlSign in
Open http://localhost:8080 and sign in as
adminwith the passwordadmin. Marmot asks you to choose a new password straight away.
Without an encryption key
For local development only, Marmot can run without a key and store credentials unencrypted:
server:
allow_unencrypted: true
database:
host: localhost
port: 5432
user: marmot
password: "<database-password>"
name: marmot
Development only
Never set allow_unencrypted: true in production. Every stored credential would be readable by anyone with access to the database.
Next steps
- Configuration reference: every setting and its environment variable.
- Plugins: catalog your first source.
- Single sign-on: let your team sign in with your identity provider.