> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.trustmary.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Installing inpage widgets to WordPress

Installing an inpage widget from Trustmary to your website by using WordPress' default editor.

Installing with the Trustmary plugin

Installing with your script and embed code

First, you need to find the widget's embed code and the global script. Start by navigating to the **Widgets** section in Trustmary, and selecting an inpage widget.

If you don't have one yet, click on a template and create a new one.

![](https://storage.crisp.chat/users/helpdesk/website/4806e8e3bec38000/2bb14c29-f72c-4b6f-b772-f0d1cd_12bbusx.png)

Now that you're in the widget editor, click the **Add to website** button where you'll find the **embed code** of the particular inpage widget. The embed code can be copied by clicking on it.

![](https://storage.crisp.chat/users/helpdesk/website/99ecbfb3b67ce800/6507c39b-6607-455f-a17c-fbbc43_f9ec3t.png)

Embedding the widget to WordPress

Start by opening up your dashboard in WordPress and navigating to **Pages**. Here you can either add a completely new page by clicking **Add New**, or edit an existing page by selecting one.

![](https://storage.crisp.chat/users/helpdesk/website/758e1f2879d18000/a0dad189-b47d-43fa-8c0f-1ccfed_14j4omb.png)

This opens up the page editor. In here, **type a slash** (the "/" -symbol) in the body section of the page (under the title) and the block menu opens up. Choose **Custom HTML** as the block type.

![](https://storage.crisp.chat/users/helpdesk/website/40cd64b931acc400/0db77ffb-8a01-46eb-9a68-1f0cb2_rcf0j7.png)

After creating the Custom HTML block, the embed code can be pasted into the text box inside the block. To verify the widget is functioning correctly, click either the **Preview** button or the **Publish** button in the top right corner.

![](https://storage.crisp.chat/users/helpdesk/website/9a9e8060bce5e800/dbaa293c-e165-43c6-9d01-715772_1p9znlc.png)