Welcome to Metatag AI, an open-source Drupal project developed by Promet Source. This module leverages OpenAI or AWS Bedrock to automatically generate meta descriptions for various content types. The meta tags are dynamically created based on the title and description of each piece of content, enhancing the SEO capabilities of your Drupal website.

Post-Installation

  1. Once metatag is enabled, add field_metatag in your chosen content type.
  2. Configure the metatag_ai by navigating to /admin/config/content/metatag-ai.
    Choose between OpenAI and AWS Bedrock and configure it accordingly.
  3. Visit /admin/config/content/metatag-ai/content-type to select the content
    types where you added the field in Step #1.
  4. Add the machine name of the Metatag field.
  5. Create content of the selected types by entering a title and body.
  6. Click on "Generate Metatag" button to automatically generate meta tags based on the content.
  7. Verify if the Metatag basic title, description, abstract and keywords are updated.

OpenAI API Keys

To retrieve your OpenAI keys, follow these steps:

  1. Login to https://platform.openai.com
  2. Go to API keys section. Follow the instructions provided to create your API keys.
  3. Copy the API Key and a Secret Key.

AWS Bedrock Keys

You should have configured your AWS Bedrock and must activate Anthropic Claude. To retrieve your AWS keys, follow these steps:

  1. Go to AWS Security Credentials.
  2. Click on "View Access keys."
  3. If you haven't created an access key yet, create one.
  4. Copy both the Access Key and Secret Access Key.

Additional Requirements

Metatag AI is dependent on the Metatag module.

FAQ

  • Is a paid OpenAI account necessary? Our tests with a free account consistently resulted in errors. Optimal performance is achieved with a paid account, applicable to both Personal and Organization accounts.

Similar projects

Explore related projects and resources:

Credit

Metatag AI is a fork of the OpenAI Metadata project. The configuration settings is the same, with the key distinction being its dependency on the Metatag module.

Metatag AI is a project developed and maintained by Promet Source.

Supporting organizations: 
Sponsor

Project information

Releases