> For the complete documentation index, see [llms.txt](https://acolono.gitbook.io/betterembed/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://acolono.gitbook.io/betterembed/cms-integrations/silverstripe-plugin/howto.md).

# HowTo

### Requirements:

SilverStripe 4

### Installation:

composer require betterembed/betterembed-silverstripe (?packagist url?)

After that, make sure you rebuild the database, class and configuration manifests by going to <http://yourwebsite.com/dev/build?flush=all>

Usage:

Upon installation, BetterEmbed shortcodes are available to use on the SilverStripe website.\
Shortcode syntax should follow this format\
\[betterembed,url=write\_url\_here]

Example shortcode with Twitter post URL:\
\[betterembed,url=<https://twitter.com/BetterEmbed/status/1201878663173726208>]

So, just add a new shortcode inside any Content field:

![](https://4136639499-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LXYTarIIWmm6wXVD0ay%2F-M-AeprsIaAeXTuzTZNo%2F-M-AifV9mNXJ_uMFmG-3%2Fimage.png?alt=media\&token=9c24f265-3f50-4aab-be44-56ac65231675)

Press 'Publish' and new BetterEmbed object is created and published:

![](https://4136639499-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LXYTarIIWmm6wXVD0ay%2F-M-AeprsIaAeXTuzTZNo%2F-M-Aj4C7KP05hjsxt-w5%2Fimage.png?alt=media\&token=a9e086f1-806b-4fa8-a486-559f84dd52de)
