The Write with AI feature in DigiFusion Pro adds an AI-powered content generation button to your WordPress post editor. This guide explains how to set up and configure this feature to start generating content with OpenAI’s ChatGPT or Anthropic’s Claude.
Accessing AI Settings
Navigate to your WordPress admin dashboard and go to DigiFusion > Write with AI. This page contains all the configuration options for the AI writing assistant.
Enable Write with AI
Toggle the Enable Write with AI switch to activate the feature. Once enabled, an AI writing button will appear in your post editor for the selected post types.
Choose AI Provider
DigiFusion Pro supports two AI providers:
OpenAI (ChatGPT) – Uses GPT-4o-mini model for content generation Anthropic (Claude) – Uses Claude Sonnet 4 model for content generation
Select your preferred provider from the dropdown menu. Each provider requires its own API key configuration.
Configure API Keys
OpenAI API Key Setup
- Visit the OpenAI API Keys page
- Create a new API key or copy an existing one
- In the DigiFusion AI settings, paste your API key in the OpenAI API Key field
- The key format should start with
sk-
Anthropic API Key Setup
- Visit the Anthropic Console
- Generate a new API key from your account settings
- In the DigiFusion AI settings, paste your API key in the Anthropic API Key field
- The key format should start with
sk-ant-
Select Post Types
Choose which post types should have the AI writing button available:
- Click on the Choose Post Types field
- Select from available post types (Post, Page, Custom Post Types)
- Multiple post types can be selected
- By default, only Posts are enabled
Configure Max Tokens
Set the maximum number of tokens for AI content generation:
- Minimum: 50 tokens
- Maximum: 4000 tokens
- Recommended: 500-2000 tokens
- Default: 1000 tokens
Higher token values allow for longer content generation but may increase API costs. The system automatically adjusts tokens based on content length requests.
Save Configuration
Click Save AI Settings to apply all changes. The AI writing button will now appear in the editor for your selected post types.
Using the AI Writing Assistant
In Gutenberg Editor
- Open any post or page in the Gutenberg editor
- Look for the AI writing button in the editor toolbar
- Click the button to open the content generation dialog
- Enter your prompt and content preferences
- Click Generate Content to create AI-powered content
In Classic Editor
- Open any post or page in the Classic Editor
- Find the Write with AI button above the content area
- Configure your content requirements in the popup
- Generate and insert content directly into the editor
Content Generation Options
When using the AI assistant, you can specify:
- Content Title: Descriptive title for your content
- Keywords: Comma-separated keywords for precision
- Content Tone: Professional, casual, friendly, etc.
- Content Length: Short (200-400 words), Medium (400-600 words), Long (600-1000 words), Very Long (1500-2000 words)
- Custom Prompt: Detailed instructions for content generation
Verification and Testing
After configuration, test the setup:
- Create a new post in your selected post type
- Verify the AI button appears in the editor
- Try generating a small piece of content
- Check that the API connection works properly
If the button doesn’t appear, ensure the AI feature is enabled and the current post type is selected in the configuration.