How to Integrate Salesforce with Chat-GPT (Open AI)

How to Integrate Salesforce with Chat-GPT (Open AI)

Tejas Vispute

1 год назад

1,373 Просмотров

How to Integrate Salesforce with Chat-GPT.

Generate Open AI API Key: https://drive.google.com/file/d/1tSvoanCTmwgJF44vbapj2D9gX2kYAf4x/view

1. Create a ChatGPT account at https://platform.openai.com/playground
2. Click on "Profile" and select the "View API Keys". Generate new secret API keys.
3. Generate new secret API keys.
4. Click on "API Reference" Tab, select the "Chat" option.
5. Copy the Post URL: https://api.openai.com/v1/chat/completions
6. Also, copy the parameters:
{
"model": "gpt-3.5-turbo",
"messages": [
{"role": "system", "content": "You are a helpful assistant."},
{"role": "user", "content": "Hello!"}
]
}
7. Log in to Postman. https://www.postman.com/
8. Click on "Workspace" and create a new workspace.
9. Select the created workspace and choose "APIs" on the left-side column.
10. Select the "POST" method and paste the URL copied in step number 5.
11. Click on "Authorization" and choose "Bearer Token" as the type. Paste the secret API
keys created in step number 3 in the Token section.
12. Click on "Body," select the "Raw" option, and choose "JSON."
13. Paste the parameters copied in step number 6.
14. Click on the "Send" button.
15. If the status code is 200, it means the request worked correctly.
16. If you want to ask a question to ChatGPT, replace "Hello!" in step number 6, {"role":
"user", "content": "Hello!"}, with your own question.

Playlist:
Trailhead: https://youtube.com/playlist?list=PLROaUDw3HS52xSi12GTAzqBurWexw0g8U

Salesforce CPQ: https://youtube.com/playlist?list=PLROaUDw3HS53i36BhzGWjSUG1zEsk-pMw

LWC: https://youtube.com/playlist?list=PLROaUDw3HS50AaeNiukFsSUc3xVRId3ax

Salesforce Shorts: https://youtube.com/playlist?list=PLROaUDw3HS512T81CFJPVczWwJ_WhGEQT

Apex Triggers: https://youtube.com/playlist?list=PLROaUDw3HS53928ebba7kxMdzznwKQQ0W

Тэги:

#how_to_integrate_Salesforce_with_ChatGPT #how #to #integrate #salesforce #with #chat #GPT #chatGPT #openai #ai #open #trailhead #solution #module #mini_project #shorts #How_to_integrate_Salesforce_with_ChatGPT_(OpenAI_API) #How_to_use_Chat_GPT_for_Salesforce #Integrating_Openai_with_Salesforce #Chat_GPT_Built_My_App_in_Minutes #Create_Trigger_using_CHATGPT_for_Salesforce #trigger #apex #tejas #vispute #by #use #api #how_to_generate_API_key #api_key #dummy
Ссылки и html тэги не поддерживаются


Комментарии: