OpenAI is an AI platform, and in order to use the features of this platform in WP Travel, it is necessary to generate an API key that will allow secure access to its services. By adding the OpenAI API key in WP Travel, you can access AI-powered content generation right from your WordPress dashboard. These features can be helpful in crafting travel websites content such as trip descriptions, itineraries, and other essential details efficiently.

The API key ensures that the services provided by OpenAI are only available to authorized users. Once linked up, WP Travel will be able to use AI to optimize the process of creating content and ensure consistency across your travel website pages. The below are the steps to follow to generate and include an OpenAI API key into WP Travel in a very simple and secure manner.

Step 1: Open AI Settings in WP Travel

  • Go to WP Travel β†’ Settings β†’ Advanced β†’ AI Settings.
  • From the AI Platform dropdown, select OpenAI.
open ai settings in wp travel

Step 2: Get Your OpenAI Key

Click on Get your API key or visit the OpenAI website:

openai key

Step 3: Sign In or Sign Up to OpenAI

You will be redirected to the OpenAI login page.

  • If you already have an account, click Log in and sign in.
  • If you don’t have an account, click Sign up and create a new one.
signup to openai

Step 4: Continue with Your Google Account (Optional)

For faster access, you can sign in using Google:

  • Click Sign in with Google.
  • Select the Google account you want to use.
  • Click Continue with this account to proceed.
google account dashboard

Step 5: Create a New Secret API Key

After signing in, you will be redirected to the OpenAI dashboard.

  • Click Create new secret key.
  • Go to the API Keys section.
new api key

Step 6: Configure and Generate the Key

A popup window will appear.

  • Click Create to generate the key.
  • Enter the required details (name and permissions if prompted).
generate the key

Step 7: Copy Your API Key

Once the key is generated, another popup will display your new API key.

  • Copy the key and keep it safe. This key will be shown only once.
secret apikey

Step 8: Add the API Key to WP Travel

  • Return to WP Travel β†’ Settings β†’ Advanced β†’ AI Settings.
  • Paste the copied API key into the OpenAI API Key field.
  • Click Save Changes.
api key to wp travel