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.

You can also go ahead and create widgets in advance. You can find instructions on how to do this in our help articles.

Setting up

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

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.

Now it is time to jump to Trustmary. Once you're in, click your profile in the top right corner, and select Settings from the drop-down menu.

In the settings, go to the Developers tab and click Add new in the API keys section.

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!

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.

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.

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.


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 code.


And voilĂ , you're done!

You've succesfully installed a widget with the Trustmary plugin. All you need to do now is to wait for the leads to start rolling in!

Did this answer your question?