Liking cljdoc? Tell your friends :D

lambdaisland.embedkit.setup

The automation helpers to automate the init setup of metabase

The automation helpers to automate the init setup of metabase
raw docstring

create-admin-user!clj

(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
sourceraw docstring

create-db!clj

(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
sourceraw docstring

enable-embedding!clj

(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
sourceraw docstring

get-embedding-secret-keyclj

(get-embedding-secret-key e-conn)

retrive the embedding-secret-key

retrive the embedding-secret-key
sourceraw docstring

get-metabase-setting!clj

(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
sourceraw docstring

get-metabase-setup-token!clj

(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
sourceraw docstring

init-metabase!clj

(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:

  1. create the first user
  2. enable embedding
Doing the following things:

1. create the first user
2. enable embedding
sourceraw docstring

metabase-endpointclj

(metabase-endpoint https? host port)

Create the base url of metabase

Create the base url of metabase
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close