IANews

Connect WordPress

Publish AI-generated articles directly to your WordPress site using Application Passwords.

Connect WordPress

IANews can publish articles directly to your WordPress site via the WordPress REST API. This guide walks you through the setup.

Prerequisites

  • WordPress 5.6 or later (Application Passwords are built-in since 5.6)
  • An administrator account on your WordPress site
  • HTTPS enabled on your WordPress site (required for Application Passwords)
  • The WordPress REST API must be accessible at https://yoursite.com/wp-json/

HTTPS is required. WordPress disables Application Passwords on non-HTTPS sites for security. If you're using HTTP, you'll need to enable HTTPS first.

Step-by-step setup

Generate a WordPress Application Password

  1. Log in to your WordPress admin panel
  2. Go to Users > Profile (or Users > Your Profile)
  3. Scroll down to the Application Passwords section
  4. Enter a name for the application: IANews
  5. Click "Add New Application Password"
  6. Copy the generated password immediately — it won't be shown again

The password will look like: abcd EFGH 1234 ijkl MNOP 5678

Connect in IANews

  1. In IANews, go to Sites > [Your Site] > WordPress
  2. Fill in:
    • WordPress URL: https://yoursite.com (no trailing slash)
    • Username: Your WordPress username (not email)
    • Application Password: Paste the password from step 1
  3. Click "Test Connection"

Verify the connection

If the test succeeds, you'll see a green checkmark and your WordPress site name. IANews can now:

  • Create draft posts
  • Publish posts directly
  • Upload featured images
  • Set categories and tags

Publish a test article

Go to Articles, select any article, and click "Publish to WordPress". Check your WordPress dashboard to confirm the article appeared.

Troubleshooting

Symptom: "Could not connect to WordPress site"

Possible causes:

  • The URL is incorrect (check for typos, ensure HTTPS)
  • Your WordPress site is behind a firewall that blocks API requests
  • A security plugin (Wordfence, iThemes) is blocking the REST API

Fix: Verify the URL is accessible by visiting https://yoursite.com/wp-json/ in your browser. You should see a JSON response. If not, check your security plugins.

Application Password vs WordPress Password: These are completely different. Your regular WordPress password is for logging into wp-admin. Application Passwords are separate tokens specifically for API access. Never use your regular password in IANews.

Advanced: Auto-publish on a schedule

Once WordPress is connected, you can set up automatic publishing:

  1. Create a Brief with your desired topic and sources
  2. In the brief settings, enable Scheduling
  3. Set a schedule (e.g., weekdays at 9 AM)
  4. Select WordPress as the publication target

See Brief scheduling for detailed scheduling configuration.

What's next?

On this page