> For the complete documentation index, see [llms.txt](https://docs.satsterminal.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.satsterminal.com/trade/custom-widgets/basic-settings/embedding-your-widget.md).

# Embedding Your Widget

### **Head HTML Code ("Add to the \<head> section")**

<figure><img src="https://satsterminal.gitbook.io/sats-terminal/~gitbook/image?url=https%3A%2F%2F1880084340-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F4IScksOJO01V2XNJnWQQ%252Fuploads%252FYjhkeDfEd3tzUd4XNRGo%252Fwallet_connect.jpg%3Falt%3Dmedia%26token%3Dcc9adbc6-65cb-4f08-b6e0-b5d9372abab9&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=e7c4b1d7&#x26;sv=2" alt=""><figcaption></figcaption></figure>

Make sure to copy and paste the following code inside your **\<head>\</head>** tags:

```
<script src="https://cdn.jsdelivr.net/gh/Networth-is/satsterminal-client@latest/main.js"></script>
```

This is the code that allows for the wallet connect function.

### **Body HTML Code ("Embed Code")**

<figure><img src="https://satsterminal.gitbook.io/sats-terminal/~gitbook/image?url=https%3A%2F%2F1880084340-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F4IScksOJO01V2XNJnWQQ%252Fuploads%252FcdkJ0Th8aYU6Jpxesgz3%252Fembed_code.jpg%3Falt%3Dmedia%26token%3D88cccc48-2262-4ea1-84ce-5a6675396797&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=c18caf46&#x26;sv=2" alt=""><figcaption></figcaption></figure>

The body code gets copied and pasted in between the **\<body>\</body>** tags in your HTML page. This is the main widget as it appears in your page.

### **Direct Link**

The direct link on it's own will look horrible if linked outside of the **Embed Code**. It is more useful as a means to updating your HTML code..

Direct links without a default rune will be shorter direct links with default rune names

**Direct Links WITHOUT a Default Rune set:**

```
[DIRECT_LINK]
```

**Direct Links WITH a Default Rune set:**

```
[DIRECT_LINK]+[DEFAULT•RUNE•NAME]
```

Remember that if you change between a default rune to no default rune and vice versa, to make sure to update the direct link.
