It requires a custom version of the rslurm
package (I've submitted my changes to the maintainers of the official version of rslurm
but they're yet to reply.)
So install that as well.
devtools::install_github("rcorty/rslurm")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.