library(nabatr)
# Enter your NABat username here username = 'NABat_Username' token = get_nabat_gql_token(username = username) token # Note: Run function with no parameters (will prompt for username/password) # token = get_nabat_gql_token(),
NABat uses authentication via Keycloak which needs to be refreshed before 15 minutes otherwise the user gets logged out. This function is used to refresh your token to prevent you from logging in every 15 minutes with username / password
token = get_refresh_token(token)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.