| setAccountInfo | R Documentation | 
Configure a ShinyApps or Posit Cloud account for publishing from this system.
setAccountInfo(name, token, secret, server = "shinyapps.io")
name | 
 Name of account to save or remove  | 
token | 
 User token for the account  | 
secret | 
 User secret for the account  | 
server | 
 Server to associate account with.  | 
Other Account functions: 
accounts(),
connectApiUser()
## Not run: 
# register an account
setAccountInfo("user", "token", "secret")
# remove the same account
removeAccount("user")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.