All in One AI plugin for WordPress: a chat assistant on your site and AI drafts for products, posts and pages

API & DocumentationWordPress, Websites & Automation·· 46 views· 3 min read

This plugin brings All in One AI into your WordPress in two ways: a chat on your site for visitors, and writing help in the editor. It uses only our public API, with the key of your Interweb account. It works in Portuguese and English.

What it does

Site assistant: a floating chat. Requests go through the WordPress server and the key never reaches the browser. There are limits per visitor, per day and for the whole site, and it can use one of your agents.

Write with AI: a box in the editor of posts, pages and WooCommerce products. From a few words it drafts the product description, the short description, the page text or the excerpt. You edit the suggestion, then add it at the end or replace the text. It works in the block editor and the classic editor.

New draft: describe a post or page and get a first draft, saved as a draft. Nothing is published.

Control: a model list with prices, tone, language, facts about your business used in every text, a daily limit per user, a connection test with your AI balance and a minimal test question.

What you need

WordPress 6.0 or newer, PHP 7.4 to 8.5 and the OpenSSL extension. WooCommerce is optional: you only need it for product descriptions. And an API key, created in the API Center of Meu Interweb.

Installing, step by step

1 Download the latest release.
2 Copy the interweb-ao-ai folder to wp-content/plugins/. You can also build a zip with tools/build-zip.sh and upload it in Plugins > Add New.
3 Activate the plugin and open Settings > Interweb Angola All in One AI.
4 Paste the API key and click "Test the connection".

The API key and its permissions

The key needs ai:read and ai:write. It is kept encrypted (AES-256-GCM, with the WordPress security keys) and never shown again. You can define INTERWEB_AO_AI_API_KEY in wp-config.php instead. See how to create a key and pick its permissions.

Testing without spending

With a sandbox_ key the model is not called and nothing is spent: every answer is a fixed test text. Use it to see the chat and the editor box working before you move to a prod_ key.

Good to know

Credits: each answer and each text uses AI credits according to the tokens used. Keep "Maximum length" low and choose a cheap model for short texts.

Read before you publish: the AI is told to write short sentences, to use only the facts given and not to invent prices, deadlines or promises. Still, always read the text.

With the full plugin: it can run next to the all-in-one plugin. If both show the chat assistant, turn it on in only one of them.

Other post types: the interweb_ao_ai_writer_post_types filter adds them to the editor box.

Help

If the connection test or the test question fails, open a support ticket and tell us the plugin version and the message you see. The code is in the plugin repository, under the MIT license.

Ready to let AI draft for your WordPress site?

Download the latest release

SEE ALSO

Adding an AI chat assistant to your website

The AI assistant in our WordPress plugin

The repository on Interweb Git

SDKs and integrations, in the API documentation

RECOMMENDED PRODUCT

WordPress hosting

One-click install, updates handled, and speed that holds up. from $6.59/mo (3-year plan, with coupon)

See plans
Was this answer helpful? Your answer helps us improve this article.