| cloudos.configure | R Documentation |
Stores API credentials and workspace context for a named profile. This is the required first step before any API wrapper call.
cloudos.configure(
profilename = "",
apikey = "",
workspace_id = "",
base_url = "https://cloudos.lifebit.ai",
set_default = FALSE
)
profilename |
Character. Name of the profile to create or update. |
apikey |
Character. API key for authentication. |
workspace_id |
Character. Workspace/team ID for API requests. |
base_url |
Character. Base URL for Lifebit Platform API (default: "https://cloudos.lifebit.ai"). |
set_default |
Logical. If TRUE, sets this profile as the default (default: FALSE). |
Invisible NULL. Prints a success message.
## Not run:
cloudos.configure(
profilename = "production",
apikey = "your-api-key",
workspace_id = "5c6d3e9bd954e800b23f8c62",
set_default = TRUE
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.