ServiceNow Integration with ChatGPT | ServiceNow Integration
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2023 06:21 AM
Integrating Service Now with Chat-GPT Open AI
Step1: Accessing Open AI platform, follow the below
1. Register with Open AI platform for accessing the API of new AI models developed by OpenAI. https://platform.openai.com/account/api-keys
2. After successfully creating your account in OpenAI, simply log in with your credentials and generate an API key.
Step2:
Create Rest Message in ServiceNow to integrate with Open AI platform, follow the below steps
Navigate to "Rest Message" under "System Web Services", create a new Rest message with following endpoint.
Endpoint: https://api.openai.com/v1/completions
Create a new "POST" HTTP method under Rest message and update the following.
HTTP Headers:
Authorization : Bearer "Api-key" (Generated in Open AI platform)
Content-Type : application/json
{
"model":"${model}",
"prompt":"${prompt}",
"temperature":${temp},
"max_tokens":${max_token}
}
YouTube Link :- https://youtu.be/b1d1jwcEkGI
If my answer solved your issue, please mark my answer as ✅ Correct & 👍Helpful based on the Impact.
If you found my response helpful, I would greatly appreciate it if you could mark it as "Accepted Solution" and "Helpful."
Your support not only benefits the community but also encourages me to continue assisting. Thank you so much!
Thanks and Regards
Ravi Gaurav | ServiceNow MVP 2025,2024 | ServiceNow Practice Lead | Solution Architect
CGI
M.Tech in Data Science & AI
YouTube: https://www.youtube.com/@learnservicenowwithravi
LinkedIn: https://www.linkedin.com/in/ravi-gaurav-a67542aa/
- 5,049 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2023 07:53 PM