The authentication environment is created by new.env function in the zzz.R file. The authentication token 'oauth' is created by the github_auth() function. This helper function lets all other functions load the authentication.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.