How to Set Up & Use an API Connection with SendLane
You can easily set up an API connection between your Thrive Themes and your SendLane account, in order to be able to take advantage of both of the services offered, in the same time.
For instance, after you create this API connection, you will be able to connect the forms you create with Thrive Leads to the email marketing services of SendLane.
How to set up the API connection with SendLane
1. Get the API keys from your SendLane account
First, you will need to get the API keys from your Sendlane account. In order to do this, log in to your SendLane account and access your dashboard.
Then, you will see three sections in the upper right part of the page: the Dashboard, the Help section and a section with the name of your account:
Hover your mouse over your account’s name and click on the “Account Settings” from the drop down that appears:
If you scroll down a bit, you will see the “Your Security Credentials” section. You will need to copy the information from all three fields from here.
Meaning that you have to copy the two keys (“API key” and the “Hash key”) as well as the domain name from the “Domain” field:
2. Insert the API keys to the “API Connections” section of your Thrive dashboard
After you have copied the API keys and the domain from your SendLane account, go to your WordPress admin dashboard and click on the “Thrive Dashboard” from the left sidebar to access it:
Then, scroll down a bit to see the “API Connections” card and click on the “Manage Connections” button from it:
You will see the list of the connections that you have already set up. Look for the “Add new Connection” section and click on it:
Now, click on the little down arrow next to the “Select an app” field:
In the drop down that opens, look for “SendLane”. You can either start typing "SendLane" or scroll down until you see it:
Once you found it, click on it and the SendLane connection card will open:
Here, you will have to paste in the information you have copied from your SendLane “Security Credentials” in the three given fields as follows:
- API URL: paste here the domain name that you have previously copied from the “SendLane” “Domain” field
- API key: paste the “SendLane API key" that you have copied
- HASH key: paste here the “SendLane Hash key" that you have copied.
After you have completed all three fields, all you have left to do is to click on the “Connect” button from the card:
Once all these steps are done, you will see that your API connection will be ready to use:
How to use the SendLane connection
After you have set up the connection, SendLane will be available for your opt-in forms. However, in order to use it, you will have to connect the opt-in forms on your website to a specific mailing list that you have set up in SendLane.
You can do this for any opt-in form you have on your website, regardless if it is in a lightbox used by Thrive Leads or inside your content. If the Thrive product, you have built your website with, is using the “Lead Generation” element, then, it can be connected with SendLane.
Connect an opt-in form to SendLane
Let’s take a lightbox used in Thrive Leads for example. When you edit its design, you will find an opt-in form in the lightbox.
Click on the opt-in form and then, on the “Connect Form To Service” option that appears in the left sidebar:
A pop-up window will open, where you can connect the opt-in form to SendLane. Complete the necessary steps here. Click on “Continue” or “Next” when one step is completed and you want to go further.
The first thing to do is to select the SendLane from the API connections that appear:
Then, you will have to set the connection details. This means that you have to choose the SendLane mailing list that you want this opt-in form to be connected to (you can use the down arrow next to the list name to see the drop-down with your lists). Furthermore, you can also add tags to it if you want:
The third step is to set up the fields of the form and define which one should be required:
Last but not least, you will have to choose what happens after the user signs up, by selecting one of the “Post Opt-in” Actions:
When you are done, click on “Save” and you will see, in the “Main Options”, that the opt-in form is connected to SendLane:
This means, that every visitor who will subscribe through the opt-in form, will be sent/added to your mailing list.
If you need more information about these steps and how to use the “Lead Generation” element, please check out this tutorial.
Hopefully, this article was useful for you. If so, please give us a smile below :)