To install the mydatastory package, do the following:
install.packages("devtools")
library(devtools)
install_github("mydatastory/package")
library(mydatastory)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.