The automation helpers to automate the init setup of metabase
The automation helpers to automate the init setup of metabase
(create-admin-user! {:keys [base-url setup-token email password first-name
last-name site-name]})
Create the first/admin user of the metabase, and get the session-key
Create the first/admin user of the metabase, and get the session-key
(create-db! e-conn db-conn-name engine details)
Create the database in metabase if it does not exist
Create the database in metabase if it does not exist
(enable-embedding! base-url session-key)
change the metabase setting using /api/setting PUT API to enable embedding
change the metabase setting using /api/setting PUT API to enable embedding
(get-embedding-secret-key e-conn)
retrive the embedding-secret-key
retrive the embedding-secret-key
(get-metabase-setting! e-conn)
(get-metabase-setting! e-conn key)
get metabase setting using /api/setting GET API
get metabase setting using /api/setting GET API
(get-metabase-setup-token! base-url)
Get the metabase setup token by using /api/session/properties GET API
Get the metabase setup token by using /api/session/properties GET API
(init-metabase! {:keys [user password first-name last-name site-name https? host
port]
:or {first-name "lambdaisland.com"
last-name "gaiwan.co"
site-name "Metabase BI"
https? false
host "localhost"
port 3000}})
Doing the following things:
Doing the following things: 1. create the first user 2. enable embedding
(metabase-endpoint https? host port)
Create the base url of metabase
Create the base url of metabase
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close