OpenAI

Dan Sharp

Posted 12 November, 2024 by in

OpenAI

Configuration > API Access > AI > OpenAI

To connect to OpenAI you will need a funded OpenAI account and an OpenAI API key. This is different to a ChatGPT subscription.

You can sign up to an OpenAI account, select your use as ‘API’, and then head over to the billing section to fund the account.

If you don’t fund the account, it will not work. You’re able to select to add a fixed amount of credit to the account, as well as adjust spending limits. Please carefully review their API pricing and token costs.

When you have an API key, copy and paste it into the ‘API Key’ field in the OpenAI Account Information tab.

OpenAI API Key

Click ‘Connect’ when you wish to use the set up for a crawl.

Navigate to the ‘Prompt Configuration’ tab, to set up up to 100 prompts against crawl data.

Direct AI Integration with OpenAI

Select the category of model (ChatGPT, Moderation or Embeddings), the OpenAI model used (for example, ‘gpt-4o’), content type and data to be used for the prompt, such as body text, HTML, or a custom extraction, as well as write your custom prompt.

Please note: To use ‘Page Text’ or ‘HTML’ for the prompt, you will need to enable ‘Store HTML‘ via ‘Config > Spider > Extraction’.

To test a prompt, use the ‘play’ icon to the right of the prompt field.

OpenAI Test Button

In the OpenAI prompt tester, input the URL to test and click the ‘Test’ button to display both the extraction, and response.

OpenAI Tester

Data from the prompt will appear in the AI tab (and Internal tab, against your usual crawl data).

AI Tab results

The ‘Add from Library’ function includes half a dozen prompts for inspiration.

OpenAI Add From Library

You’re able to add and customise your own using the ‘Add from Library’ button, clicking ‘User’ and the ‘+’ button.

OpenAI Add to Library, user prompts

Custom prompts can be shared using the export and import buttons at the top.

Read our full tutorial on How To Crawl With AI Prompts.


Dan Sharp is founder & Director of Screaming Frog. He has developed search strategies for a variety of clients from international brands to small and medium-sized businesses and designed and managed the build of the innovative SEO Spider software.

Comments are closed.

Back to top