If you not register application, create app and configure id and secret key from WakaTime.
| 1 2 | write_scope(app.id = Sys.getenv("WAKATIME_ID"),
  app.secret = Sys.getenv("WAKATIME_SECRET"))
 | 
| app.id | character. OAuth app ID. If you set as system environment
(recommend) variables is used (check  | 
| app.secret | character. OAuth secret app key. If you set as system environment | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.