- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
Hi All,
This post is a walk-through on how to get started with the Generative AI Controller, there is more to explore outside of this post but we wanted to get you started quickly!
In this walkthrough, we will be utilizing OpenAI to connect your ServiceNow instance to the Generative AI Controller. Microsoft Azure OpenAI is also available to use (if you have access to an Azure key)
OBTAIN AN OPENAI API KEY
OpenAI API Keys are free to obtain and have a free trial usage tier for exploration.
- Navigate to https://platform.openai.com/signup and sign up
- Navigate to https://platform.openai.com/account/api-keys and click Create new secret key button.
- Copy the key (Save it somewhere! They only show you the key once)
STORE YOUR KEY IN A SERVICENOW CREDENTIAL
- In the Navigation filter, navigate to “Connection & Credential Aliases”
- Open the “OpenAI” record (ID = sn_openai.OpenAI)
- Under Related Links, click “Create New Connection & Credential”
- Paste your OpenAI Key in the “API Key:” field and press “Create”.
SET REQUIRED SYSTEM PROPERTY
- In the Navigation filter, enter sys_properties.list and press enter. The entire list of properties in the System Properties [sys_properties] table appears.
- Find/Filter the list for the system property with the name of “com.sn.generative.ai.provider” and open the record
At the top, a banner will say:
Click on “here”
4. In the Value field type openai and save/update the record
Hope this helps you.
I hope this article helpful. Please mark it as helpful and bookmark if you like it.
Regards,
Shamma Negi
- 2,443 Views
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.