> For the complete documentation index, see [llms.txt](https://alix-lahuec.gitbook.io/zotero-roam/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://alix-lahuec.gitbook.io/zotero-roam/v0.5/getting-started/install.md).

# 1.2 Installation in {{roam/js}}

You can install the extension by adding a single `{{[[roam/js]]}}` block to your graph :

```javascript
// To install the extension, simply add the code below :
var s = document.createElement("script");
s.src = "https://cdn.jsdelivr.net/npm/@alixlahuec/zotero-roam@0.5";
s.id = "zotero-roam";
s.type = "text/javascript";
document.getElementsByTagName("body")[0].appendChild(s);
```

Next, you'll need to specify a few settings to get the extension running ; that's where your **API key** and **user ID** (from Step 1.1) will come into play !
