> ## 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).

# How to add a Review widget to WordPress with Trustmary's plugin


# Introduction

In this guide we will go through the installing and implementation of Trustmary's WordPress plugin. We will assume that you already have an account created, but if you don't, you can choose a plan and create an account from our [website](https://trustmary.com/pricing/).

You can also go ahead and create widgets in advance. You can find instructions on how to do this in our [help articles](https://help.trustmary.com/en/article/how-to-create-widgets-1hp26u8/).

## Setting up

Start by opening up your WordPress dashboard, and navigating to **Plugins**. From there, click the **Add new** button near the top.

![](https://storage.crisp.chat/users/helpdesk/website/dc7a9330a945d000/042ddc06-96ce-45f3-8073-c73e47_16y7kyu.png)
In the **Add Plugins** menu, search for Trustmary in the search box on the right. Once you find our plugin (pictured below), click **Install now** on its card. The install takes only a couple of seconds, and after that the button reads **Activate**. Click it again to activate the plugin.

![](https://storage.crisp.chat/users/helpdesk/website/3f1de71230f66c00/43578051-de40-4ddd-8dfd-350633_1ez5cfx.png)
Now it is time to jump to [Trustmary](https://app.trustmary.com/). Once you're in, click your profile in the top right corner, and select **Company settings** from the drop-down menu.

![](https://storage.crisp.chat/users/helpdesk/website/-/b/8/0/8/b8083cc0c8b32000/03-profile-menu_q64gvg.png =400xauto)
In the settings menu on the left, open **Developers** and click **Add new** in the API keys section.

![](https://storage.crisp.chat/users/helpdesk/website/-/b/8/0/8/b8083cc0c8b32000/04-settings-developers_18lz3t1.png =1000xauto)
In the next window, give your API key a name to differentiate it from the potential other keys, and then **copy** the code. Note that you will see the key in full **only once** so keep it safe!

![](https://storage.crisp.chat/users/helpdesk/website/-/b/8/0/8/b8083cc0c8b32000/05-api-key-copy_1bb27pg.png =600xauto)
Now that you have the code, head back to your WordPress dashboard, and select the Trustmary plugin. In the plugin's menu, follow the prompts to install your API key.

![](https://storage.crisp.chat/users/helpdesk/website/56f273b02a737c00/cd9ea165-fe40-41b2-9036-3583f6_pku1hw.png)
After the key is in its place, click **Save Changes** to save your API key and retrieve your organisation data. You can also select whether you would like Trustmary's scripts to install automatically or to install them yourselves, but we recommend leaving the setting as is.

![](https://storage.crisp.chat/users/helpdesk/website/3f91d5749157be00/e79a7ea4-0307-4113-bf0b-58e2bd_1u2g1lt.png)

## Embedding the widgets

You're now ready to deploy your widgets! In the Trustmary plugin's dashboard you can see your options. You can select whichever suits you the best from these, but for the sake of this guide, we're going to select **Inline widgets**.

This gives us a list of all our inline (static) widgets. From here, copy the **shortcode** of the widget you would like to use.

| Pro tip: name your widgets distinctively to tell them apart.

![](https://tawk.link/63c911a247425128790e845b/kb/attachments/GxFrFlKKLb.png)
Then, just add a block to a page in the editor and paste the shortcode in the text box.

| Pro tip: You can use almost whichever block type (text, HTML, shortcode...) and WP will automatically recognize the shortcode.

![](https://tawk.link/63c911a247425128790e845b/kb/attachments/J-usi2kUXt.png)
