# run this function to render your .Rmd with polished authentication
polished::secure_rmd(
rmd_file_path = "<path to your .Rmd file>",
# if your Polished API key is not set as an R environment variable (default: `POLISHED_API_KEY`),
# then you must set it below.
# polished_config_args = list(
# api_key = "<your Polished API key>"
# )
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.