Description Usage Arguments Examples
View source: R/shinyservicebot.R
This function renders the html output for servicebot embeds
1 2 3 |
servicebot_config |
This is the embed config for servicebot as described by servicebot. See https://docs.servicebot.io/subscription-portal/subscription-management-portal/subscription-management-portal-configuration for config options. See the examples section below. |
dev_mode |
For use in development. Set to FALSE in production |
width |
With of html widget |
height |
height of html widget |
elementId |
elementId Use an explicit element ID for the widget (rather than an automatically generated one). Ignored when used in a Shiny app. |
1 2 3 4 5 6 7 8 9 10 11 | # Init servicebot pr user login
shinyservicebot::init(dev_mode = TRUE)
# Config
servicebot_config = list (
servicebot_id = "E0OQN0P0Dort", # // LIVE & TEST MODE IDs ARE DIFFERENT
service = "Flat Subscription",
email = "shinyservicebot36io3ejbyf1pea7g61mxki-test@yopmail.com"
)
shinyservicebot::shinyservicebot(servicebot_config, width = "auto")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.