โ๏ธWordPress API Integration
Bodt.io provides direct integration with WordPress API. Direct integration with API has the following advantages over the regular web-scraping way.
We are able to train our models with higher-quality data from your website
You can choose what content types (posts/pages/products etc.) to index. This provides an easy way to control the data you want to use with the bodt.
Using APIs directly helps you avoid scraping issues like blocking by ISPs, etc.
You are able to add protected content using credentials specifically for Bodt.
The entire process is much faster than regular scraping
Add WordPress Site
To add a new WordPress website, navigate to the "Data Sources" sidebar and Click on "Add Source". Choose "WordPress" as the source and click on it.
A new form opens up that will request details for your WordPress setup. You need to provide the following details
Website Name Name of the WordPress site you want to use.
Website URL The URL to your WordPress setup. Do use a complete URL, including the https/http prefix.
Content Types You will need to choose content types that you would like to use to train the model. We will need at least one content type to train the model.
Credentials If you would want to use protected content (behind WordPress login) to train our model, please create an application password for our app. Learn more about the application password.
Add the username and password for the application password for us to access your protected content.
Once you fill in all the details, click on "Add Source" to save all the details.
Train Model
To train a model choose the links you want to use to train our AI models and click on "Train Selected".
In case you want to use all the URLs, click on "Train All" and the system will use all website links to train the bot.
Remove a link
In case you want to remove the URLs used earlier as part of the training data, simply click on the "Delete" link next to it. It will remove the URL from the system and will not be used further to answer any queries.
Delete the WordPress Source
If you would like to remove the entire website as the source for bodt, simply navigate to the required source and click on the "Delete Source" button to remove it from the system.
Tutorial
Last updated