{"id":32263,"date":"2023-06-15T10:02:12","date_gmt":"2023-06-15T17:02:12","guid":{"rendered":"https:\/\/salesforcedevops.net\/?p=32263"},"modified":"2024-01-21T09:32:10","modified_gmt":"2024-01-21T17:32:10","slug":"introducing-ai-gateway-for-salesforce","status":"publish","type":"post","link":"https:\/\/salesforcedevops.net\/index.php\/2023\/06\/15\/introducing-ai-gateway-for-salesforce\/","title":{"rendered":"Introducing AI Gateway for Salesforce: Managed Access for OpenAI API"},"content":{"rendered":"\n<p class=\"has-drop-cap wp-block-paragraph\">I am thrilled to announce the open-source project <a href=\"https:\/\/github.com\/vkeenan\/ai-gateway\">AI Gateway for Salesforce<\/a>. The project, which is designed to let you safely dip your toes into the generative AI waters, incorporates OpenAI\u2019s state-of-the-art text generation models within your Salesforce environment. This project recognizes the concerns of senior IT leaders about widespread use of ChatGPT within their organizations. AI Gateway for Salesforce aims to give IT leaders a controlled and monitored alternative to using ChatGPT for small developer teams.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This gateway enables Salesforce customers to generate text with OpenAI API directly within Salesforce. The prompts and answers are stored in Salesforce custom objects. A remarkably powerful tool, AI Gateway for Salesforce allows small teams to begin experimenting with prompt engineering in everyday productivity tasks. The project is still experimental and is not intended to be used by end users at this time.<\/p>\n\n\n\n<div class=\"wp-block-yoast-seo-table-of-contents yoast-table-of-contents\"><h2>Table of contents<\/h2><ul><li><a href=\"#h-what-is-ai-gateway-for-salesforce\" data-level=\"2\">What is AI Gateway for Salesforce?<\/a><\/li><li><a href=\"#h-openai-privacy-and-data-security\" data-level=\"2\">OpenAI Privacy and Data Security<\/a><ul><li><a href=\"#h-personally-identifiable-information-pii-and-openai\" data-level=\"3\">Personally Identifiable Information (PII) and OpenAI<\/a><\/li><\/ul><\/li><li><a href=\"#h-enterprise-concerns-and-opportunities-for-generative-ai\" data-level=\"2\">Enterprise Concerns and Opportunities for Generative AI<\/a><ul><li><a href=\"#h-generative-ai-accelerates-software-projects\" data-level=\"3\">Generative AI Accelerates Software Projects<\/a><\/li><\/ul><\/li><li><a href=\"#h-how-to-get-ai-gateway-for-salesforce\" data-level=\"2\">How to Get AI Gateway for Salesforce<\/a><\/li><li><a href=\"#h-using-ai-gateway-for-salesforce\" data-level=\"2\">Using AI Gateway for Salesforce<\/a><\/li><li><a href=\"#h-let-the-games-begin\" data-level=\"2\">Let the Games Begin<\/a><\/li><\/ul><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-what-is-ai-gateway-for-salesforce\">What is AI Gateway for Salesforce?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">AI Gateway for Salesforce uses a custom Salesforce object named <em>Prompt__c<\/em> to create and store prompts. The Prompt layout uses a Flow that performs OpenAI chat completions API using the gpt-4 and gpt-3.5-turbo models. The response from the API is then stored in the <em>PromptAnswer__c<\/em> object.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The project is a bare-bones implementation of the OpenAI Chat Completions API. It is intended to be a template for other organizations to experiment with OpenAI API. The OpenAI user interface is written as a very simple Salesforce Flow, so it should be easy for admins and developers to customize the user interface to meet their needs.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-openai-privacy-and-data-security\">OpenAI Privacy and Data Security<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Privacy and data security are crucial considerations for enterprise AI. If you are using OpenAI in your organization, then it is important to understand the OpenAI <a href=\"https:\/\/openai.com\/policies\/privacy-policy\">privacy policy<\/a> and <a href=\"https:\/\/openai.com\/policies\/api-data-usage-policies\">API data usage policies<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">First, you should understand there is a difference between how OpenAI treats API customers versus ChatGPT customers. If you are saving chats in ChatGPT, then OpenAI will use your data for research. On the other hand, according to OpenAI\u2019s promises, if you are using the API to communicate with OpenAI, then they won\u2019t use your data for training. OpenAI does have a 30-day policy where API data is retained for safety and engineering purposes and then deleted.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">While OpenAI says they follow this data regimen, it doesn\u2019t mean they will not screw up or fail to abide by their own rules. And, OpenAI is completely domiciled in the United States, so I\u2019m sure some international users aren\u2019t happy about that.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It\u2019s not perfect, and some enterprises will not tolerate OpenAI risk at any level. But OpenAI API has clear guidelines and policies on data handling, and it won&#8217;t be used for model training. So, if you can tolerate those terms, then AI Gateway for Salesforce allows you to send data to OpenAI servers without worrying about the data misuse that could happen on ChatGPT.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-personally-identifiable-information-pii-and-openai\">Personally Identifiable Information (PII) and OpenAI<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Please do not put PII into your AI Gateway prompts or answers. Besides sending that information to OpenAI, it is recorded into the Prompt__c and PromptAnswer__c custom objects. You must use placeholders if you\u2019re trying to generate personalized information.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Managing PII internally is a major challenge with AI apps. Salesforce recently said they will automatically manage PII masking in the upcoming <a href=\"https:\/\/origin.salesforcedevops.net\/index.php\/2023\/06\/12\/salesforce-unveils-ai-cloud-revolutionizing-enterprise-ai\/\">AI Cloud<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Not everybody will be willing to wait for Sales and Service Cloud integrations from Salesforce. There is a new product in the AppExchange called <a href=\"https:\/\/gptfy.ai\/\">GPTfy<\/a>, and it has similarities with AI Gateway. But GPTfy uses a PII filter to keep your PII out of the OpenAI API calls.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-enterprise-concerns-and-opportunities-for-generative-ai\">Enterprise Concerns and Opportunities for Generative AI<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Just because you can feel better about OpenAI not using your data, this doesn\u2019t mean your AI problems are solved. There are plenty of other concerns when it comes to generative AI. As we learned when <a href=\"https:\/\/www.linkedin.com\/feed\/update\/urn:li:activity:7074441209364054016\/\">Salesforce launched its new AI Cloud<\/a>, we still have a way to go using large language models (LLMs) in the enterprise. The risk for confident fabrications and other LLM mistakes is still too high. And foundational LLMs are incapable of explaining themselves. So, that means using a tool like AI Gateway for Salesforce throughout an enterprise without restrictions would be a terrible idea!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">So, why did I put this tool out there if it is potentially risky? Every company has an individual or team that\u2019s chomping at the bit to get their hands on OpenAI for Salesforce applications. I made AI Gateway to give small organizations or senior IT teams the ability to say Yes to those teams. Storing the prompt library in Salesforce gives teams an easy way to distribute and secure saved prompts. Using the OpenAI API keeps your data out of training. And keeping the answers in a database gives you an audit trail. Using AI Gateway can encourage the development of prompt engineering skills in Salesforce developers, which will be a critical capability in the coming months.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-generative-ai-accelerates-software-projects\">Generative AI Accelerates Software Projects<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">There is something special about the combination of generative AI and software engineering. Because of that, I especially encourage the use of AI Gateway among teams of developers and architects. The foundational model features of GPT-4 allows it to perform extraordinary feats of logic as a thought partner. And, by creating elaborate prompts with specific Salesforce language examples, it generates large blocks of code with minimal hallucinations or other mistakes.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">And using generative AI in software engineering has multiple built-in safety features. All generated code must be inspected by a developer before it is put into a project. And Salesforce languages must be complied, which validates the accuracy of the code.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">There is a <a href=\"https:\/\/www.wsj.com\/articles\/ai-is-writing-code-now-for-companies-that-is-good-and-bad-6f19ecdc\"><em>Wall Street Journal<\/em> article<\/a> that quotes an MIT professor who said \u201cI think there is a risk of accumulating lots of very shoddy code written by a machine.\u201d Well, that works completely against my limited experience! As I already stated, there are built-in safety features. And it\u2019s been my experience using GPT-4 to refactor code is very helpful in <em>eliminating<\/em> technical debt.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-how-to-get-ai-gateway-for-salesforce\">How to Get AI Gateway for Salesforce<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Visit <a href=\"https:\/\/github.com\/vkeenan\/ai-gateway\">https:\/\/github.com\/vkeenan\/ai-gateway<\/a> to get more information on installing and using AI Gateway for Salesforce. You can install AI Gateway for Salesforce into a new scratch org from the repo. Or you can host the unmanaged package in one of your developer or sandbox orgs. Use this link to install the unmanaged package:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">           <a href=\"https:\/\/login.salesforce.com\/packaging\/installPackage.apexp?p0=04tHs0000011h8l\">https:\/\/login.salesforce.com\/packaging\/installPackage.apexp?p0=04tHs0000011h8l<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">AI Gateway has several, rather complicated post-installation setup steps involved to securely integrate with OpenAI API. So, please read the GitHub README file and the main VisualForce page in the Prompt Engineering app to get the details on the needed External Credential and Permission Set setup steps.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-using-ai-gateway-for-salesforce\">Using AI Gateway for Salesforce<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Here is a quick overview of how to use AI Gateway for Salesforce.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Pick A Prompt<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">To use the AI Gateway after <a href=\"https:\/\/github.com\/vkeenan\/ai-gateway\">installation<\/a>, access the Prompt Engineering app in the Salesforce application menu. Then click the Prompt tab to see a list of prompts.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/origin.salesforcedevops.net\/wp-content\/uploads\/2023\/06\/Screenshot-2023-06-14-115224.png\"><img decoding=\"async\" width=\"1024\" height=\"576\" data-src=\"https:\/\/origin.salesforcedevops.net\/wp-content\/uploads\/2023\/06\/Screenshot-2023-06-14-115224-1024x576.png\" alt=\"AI Gateway for Salseforce Prompt List\" class=\"wp-image-32266 lazyload\" data-srcset=\"https:\/\/salesforcedevops.net\/wp-content\/uploads\/2023\/06\/Screenshot-2023-06-14-115224-1024x576.png 1024w, https:\/\/salesforcedevops.net\/wp-content\/uploads\/2023\/06\/Screenshot-2023-06-14-115224-300x169.png 300w, https:\/\/salesforcedevops.net\/wp-content\/uploads\/2023\/06\/Screenshot-2023-06-14-115224-768x432.png 768w, https:\/\/salesforcedevops.net\/wp-content\/uploads\/2023\/06\/Screenshot-2023-06-14-115224-1536x864.png 1536w, https:\/\/salesforcedevops.net\/wp-content\/uploads\/2023\/06\/Screenshot-2023-06-14-115224.png 1200w\" data-sizes=\"(max-width: 1024px) 100vw, 1024px\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" style=\"--smush-placeholder-width: 1024px; --smush-placeholder-aspect-ratio: 1024\/576;\" \/><\/a><figcaption class=\"wp-element-caption\">AI Gateway for Salseforce Prompt List<\/figcaption><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Send A Prompt<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Clicking on the prompt name puts you into a Flow called OpenAI Prompt. There are Parameter, Prompt, and System Prompt fields you can edit before sending it to OpenAI. Here are what the different fields mean.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The Parameter field uses a JSON format to list variables that will be replaced in Prompt when executed. By being explicit how one may parameterize a prompt, I believe you can increase the utility of that prompt by others.<\/li>\n\n\n\n<li>The Prompt field is where you make your request. This is functionally equivalent to entering text into a ChatGPT prompt.<\/li>\n\n\n\n<li>The System message is used to restrict, enhance, and shape the responses generated by the Prompt message. This is where you use your skills to create long, elaborate prompts. And there are formal prompting techniques you can use to draft the System prompt. These advanced techniques include <em>few-shot<\/em> and <em>chain-of-thought<\/em> prompting. In the GitHub Repo and the sample prompts, I have included several examples of using elaborate system prompts for code generation.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">In the \u201cMarket Research\u201d prompt example, the Parameter field is filled out by entering \u201cCloud Backup Services\u201d as the research topic.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/origin.salesforcedevops.net\/wp-content\/uploads\/2023\/06\/Screenshot-2023-06-14-121408.png\"><img decoding=\"async\" width=\"1024\" height=\"1006\" data-src=\"https:\/\/origin.salesforcedevops.net\/wp-content\/uploads\/2023\/06\/Screenshot-2023-06-14-121408-1024x1006.png\" alt=\"AI Gateway for Salseforce Execute Prompt\" class=\"wp-image-32267 lazyload\" data-srcset=\"https:\/\/salesforcedevops.net\/wp-content\/uploads\/2023\/06\/Screenshot-2023-06-14-121408-1024x1006.png 1024w, https:\/\/salesforcedevops.net\/wp-content\/uploads\/2023\/06\/Screenshot-2023-06-14-121408-300x295.png 300w, https:\/\/salesforcedevops.net\/wp-content\/uploads\/2023\/06\/Screenshot-2023-06-14-121408-768x755.png 768w, https:\/\/salesforcedevops.net\/wp-content\/uploads\/2023\/06\/Screenshot-2023-06-14-121408.png 687w\" data-sizes=\"(max-width: 1024px) 100vw, 1024px\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" style=\"--smush-placeholder-width: 1024px; --smush-placeholder-aspect-ratio: 1024\/1006;\" \/><\/a><figcaption class=\"wp-element-caption\">AI Gateway for Salseforce Execute Prompt<\/figcaption><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">View Prompt Answer<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Unlike when using ChatGPT, there is no word-by-word feedback on the response with the Flow interface. AI Gateway for Salesforce waits until OpenAI is done generating text and then displays the result. It can take up to two minutes for the result to come back, and I have occasionally experienced timeouts. When the API call is finally returned, the result is displayed on the screen and saved in the <em>PromptAnswer__c<\/em> custom object.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/origin.salesforcedevops.net\/wp-content\/uploads\/2023\/06\/Screenshot-2023-06-14-121554.png\"><img decoding=\"async\" width=\"1024\" height=\"1006\" data-src=\"https:\/\/origin.salesforcedevops.net\/wp-content\/uploads\/2023\/06\/Screenshot-2023-06-14-121554-1024x1006.png\" alt=\"AI Gateway for Salseforce Prompt Answer\" class=\"wp-image-32269 lazyload\" data-srcset=\"https:\/\/salesforcedevops.net\/wp-content\/uploads\/2023\/06\/Screenshot-2023-06-14-121554-1024x1006.png 1024w, https:\/\/salesforcedevops.net\/wp-content\/uploads\/2023\/06\/Screenshot-2023-06-14-121554-300x295.png 300w, https:\/\/salesforcedevops.net\/wp-content\/uploads\/2023\/06\/Screenshot-2023-06-14-121554-768x755.png 768w, https:\/\/salesforcedevops.net\/wp-content\/uploads\/2023\/06\/Screenshot-2023-06-14-121554.png 1099w\" data-sizes=\"(max-width: 1024px) 100vw, 1024px\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" style=\"--smush-placeholder-width: 1024px; --smush-placeholder-aspect-ratio: 1024\/1006;\" \/><\/a><figcaption class=\"wp-element-caption\">AI Gateway for Salseforce Prompt Answer<\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-let-the-games-begin\">Let the Games Begin<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">I had a lot of fun doing this project. My personal motivation was to have a safe place where I can put my frequently used prompts. Now I have a safe and secure place to put my prompts, and I can execute prompts in a simple user interface that saves the results. As a result, I am a more efficient prompt engineer.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">AI Gateway for Salesforce is among the first of what will eventually be dozens or even hundreds of AI-infused apps to appear on the Salesforce AppExchange. The feelings of excitement about AI and the unprecedented popularity of OpenAI ChatGPT will continue to deliver entrepreneurial innovations. The challenge for Salesforce is to deliver their fully integrated vision of AI Cloud and the GPT updates to all the Salesforce Clouds on time.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I made AI Gateway for Salesforce thinking about the software development teams that can benefit from LLM technology. I believe developer and architect LLM access is the area that Salesforce customers can safely invest in LLM technology starting today. But AI Gateway isn\u2019t just for developers. Let your imagination run wild! But please do that in a sandboxed environment without customer data. I can\u2019t wait to hear what you are doing with it!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I am thrilled to announce the open-source project AI Gateway for Salesforce. The project, which is designed to let you safely dip your toes into the generative AI waters, incorporates&hellip;<\/p>\n","protected":false},"author":1,"featured_media":32273,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_uag_custom_page_level_css":"","footnotes":""},"categories":[3,159],"tags":[],"post_series":[],"class_list":["post-32263","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-industry-analysis","category-review","entry","has-media"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.9 (Yoast SEO v28.0) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Introducing AI Gateway for Salesforce: Managed Access for OpenAI API - SalesforceDevops.net<\/title>\n<meta name=\"description\" content=\"AI Gateway for Salesforce: Boost your developer productivity with OpenAI API directly within your Salesforce platform\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/salesforcedevops.net\/index.php\/2023\/06\/15\/introducing-ai-gateway-for-salesforce\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Introducing AI Gateway for Salesforce: Managed Access for OpenAI API - SalesforceDevops.net\" \/>\n<meta property=\"og:description\" content=\"AI Gateway for Salesforce: Boost your developer productivity with OpenAI API directly within your Salesforce platform\" \/>\n<meta property=\"og:url\" content=\"https:\/\/salesforcedevops.net\/index.php\/2023\/06\/15\/introducing-ai-gateway-for-salesforce\/\" \/>\n<meta property=\"og:site_name\" content=\"SalesforceDevops.net\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/salesforcedevopsnet\" \/>\n<meta property=\"article:published_time\" content=\"2023-06-15T17:02:12+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-01-21T17:32:10+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/salesforcedevops.net\/wp-content\/uploads\/2023\/06\/presentation_slide_16_91920x1080-rid_c5283034-40f8-47b4-ae20-2811bd034863.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"675\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Vernon Keenan\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@salesforcedevop\" \/>\n<meta name=\"twitter:site\" content=\"@salesforcedevop\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Vernon Keenan\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"9 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"TechArticle\",\"@id\":\"https:\\\/\\\/salesforcedevops.net\\\/index.php\\\/2023\\\/06\\\/15\\\/introducing-ai-gateway-for-salesforce\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/salesforcedevops.net\\\/index.php\\\/2023\\\/06\\\/15\\\/introducing-ai-gateway-for-salesforce\\\/\"},\"author\":{\"name\":\"Vernon Keenan\",\"@id\":\"https:\\\/\\\/salesforcedevops.net\\\/#\\\/schema\\\/person\\\/f681893c994bc40406bb391546cd7ac8\"},\"headline\":\"Introducing AI Gateway for Salesforce: Managed Access for OpenAI API\",\"datePublished\":\"2023-06-15T17:02:12+00:00\",\"dateModified\":\"2024-01-21T17:32:10+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/salesforcedevops.net\\\/index.php\\\/2023\\\/06\\\/15\\\/introducing-ai-gateway-for-salesforce\\\/\"},\"wordCount\":1734,\"commentCount\":1,\"publisher\":{\"@id\":\"https:\\\/\\\/salesforcedevops.net\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/salesforcedevops.net\\\/index.php\\\/2023\\\/06\\\/15\\\/introducing-ai-gateway-for-salesforce\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/salesforcedevops.net\\\/wp-content\\\/uploads\\\/2023\\\/06\\\/presentation_slide_16_91920x1080-rid_c5283034-40f8-47b4-ae20-2811bd034863.png\",\"articleSection\":[\"Industry Analysis\",\"Review\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/salesforcedevops.net\\\/index.php\\\/2023\\\/06\\\/15\\\/introducing-ai-gateway-for-salesforce\\\/#respond\"]}],\"copyrightYear\":\"2023\",\"copyrightHolder\":{\"@id\":\"https:\\\/\\\/salesforcedevops.net\\\/#organization\"},\"accessibilityFeature\":[\"tableOfContents\"]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/salesforcedevops.net\\\/index.php\\\/2023\\\/06\\\/15\\\/introducing-ai-gateway-for-salesforce\\\/\",\"url\":\"https:\\\/\\\/salesforcedevops.net\\\/index.php\\\/2023\\\/06\\\/15\\\/introducing-ai-gateway-for-salesforce\\\/\",\"name\":\"Introducing AI Gateway for Salesforce: Managed Access for OpenAI API - SalesforceDevops.net\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/salesforcedevops.net\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/salesforcedevops.net\\\/index.php\\\/2023\\\/06\\\/15\\\/introducing-ai-gateway-for-salesforce\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/salesforcedevops.net\\\/index.php\\\/2023\\\/06\\\/15\\\/introducing-ai-gateway-for-salesforce\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/salesforcedevops.net\\\/wp-content\\\/uploads\\\/2023\\\/06\\\/presentation_slide_16_91920x1080-rid_c5283034-40f8-47b4-ae20-2811bd034863.png\",\"datePublished\":\"2023-06-15T17:02:12+00:00\",\"dateModified\":\"2024-01-21T17:32:10+00:00\",\"description\":\"AI Gateway for Salesforce: Boost your developer productivity with OpenAI API directly within your Salesforce platform\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/salesforcedevops.net\\\/index.php\\\/2023\\\/06\\\/15\\\/introducing-ai-gateway-for-salesforce\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/salesforcedevops.net\\\/index.php\\\/2023\\\/06\\\/15\\\/introducing-ai-gateway-for-salesforce\\\/#primaryimage\",\"url\":\"https:\\\/\\\/salesforcedevops.net\\\/wp-content\\\/uploads\\\/2023\\\/06\\\/presentation_slide_16_91920x1080-rid_c5283034-40f8-47b4-ae20-2811bd034863.png\",\"contentUrl\":\"https:\\\/\\\/salesforcedevops.net\\\/wp-content\\\/uploads\\\/2023\\\/06\\\/presentation_slide_16_91920x1080-rid_c5283034-40f8-47b4-ae20-2811bd034863.png\",\"width\":1200,\"height\":675,\"caption\":\"Introducing AI Gateway for Salesforce: Managed Access for OpenAI API\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/salesforcedevops.net\\\/#website\",\"url\":\"https:\\\/\\\/salesforcedevops.net\\\/\",\"name\":\"SalesforceDevops.net\",\"description\":\"Elevating Salesforce Devops with Insights and Innovation\",\"publisher\":{\"@id\":\"https:\\\/\\\/salesforcedevops.net\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/salesforcedevops.net\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/salesforcedevops.net\\\/#organization\",\"name\":\"SalesforceDevops.net\",\"url\":\"https:\\\/\\\/salesforcedevops.net\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/salesforcedevops.net\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/salesforcedevops.net\\\/wp-content\\\/uploads\\\/2021\\\/03\\\/7760e9c16fc75961659174739887197e-sticker.png\",\"contentUrl\":\"https:\\\/\\\/salesforcedevops.net\\\/wp-content\\\/uploads\\\/2021\\\/03\\\/7760e9c16fc75961659174739887197e-sticker.png\",\"width\":421,\"height\":421,\"caption\":\"SalesforceDevops.net\"},\"image\":{\"@id\":\"https:\\\/\\\/salesforcedevops.net\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/salesforcedevopsnet\",\"https:\\\/\\\/x.com\\\/salesforcedevop\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/vernonkeenan\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCOgOn9rD5gyXSOmV7-Q0n7g\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/salesforcedevops.net\\\/#\\\/schema\\\/person\\\/f681893c994bc40406bb391546cd7ac8\",\"name\":\"Vernon Keenan\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f1183f1ebb5c059e052825760f95b25244abc5ef832145327f298f3697f980c7?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f1183f1ebb5c059e052825760f95b25244abc5ef832145327f298f3697f980c7?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f1183f1ebb5c059e052825760f95b25244abc5ef832145327f298f3697f980c7?s=96&d=mm&r=g\",\"caption\":\"Vernon Keenan\"},\"description\":\"Vernon Keenan (LinkedIn) works as a senior information technology industry consultant based in Oakland, California. He earned his B.Sc. in Biomedical Engineering at Northwestern University where he programmed a PDP-8 with punched paper tape. In his 34-year-long career he has been a teacher, SPSS programmer, database administrator, clinical researcher, technology journalist, product marketing manager, market researcher, management consultant, and industry analyst. Most recently he is a telecom operator, cloud architect, Go devops engineer and Salesforce Developer\\\/Architect. For inquiries about Salesforce strategy briefings or solution architect work please contact Vern directly at +1-510-679-1900 or vern@vernonkeenan.com.\",\"sameAs\":[\"https:\\\/\\\/ceres-gw.tnxs.net\",\"https:\\\/\\\/linkedin.com\\\/in\\\/vernonkeenan\",\"https:\\\/\\\/x.com\\\/salesforcedevop\"],\"url\":\"https:\\\/\\\/salesforcedevops.net\\\/index.php\\\/author\\\/vern\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Introducing AI Gateway for Salesforce: Managed Access for OpenAI API - SalesforceDevops.net","description":"AI Gateway for Salesforce: Boost your developer productivity with OpenAI API directly within your Salesforce platform","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/salesforcedevops.net\/index.php\/2023\/06\/15\/introducing-ai-gateway-for-salesforce\/","og_locale":"en_US","og_type":"article","og_title":"Introducing AI Gateway for Salesforce: Managed Access for OpenAI API - SalesforceDevops.net","og_description":"AI Gateway for Salesforce: Boost your developer productivity with OpenAI API directly within your Salesforce platform","og_url":"https:\/\/salesforcedevops.net\/index.php\/2023\/06\/15\/introducing-ai-gateway-for-salesforce\/","og_site_name":"SalesforceDevops.net","article_publisher":"https:\/\/www.facebook.com\/salesforcedevopsnet","article_published_time":"2023-06-15T17:02:12+00:00","article_modified_time":"2024-01-21T17:32:10+00:00","og_image":[{"width":1200,"height":675,"url":"https:\/\/salesforcedevops.net\/wp-content\/uploads\/2023\/06\/presentation_slide_16_91920x1080-rid_c5283034-40f8-47b4-ae20-2811bd034863.png","type":"image\/png"}],"author":"Vernon Keenan","twitter_card":"summary_large_image","twitter_creator":"@salesforcedevop","twitter_site":"@salesforcedevop","twitter_misc":{"Written by":"Vernon Keenan","Est. reading time":"9 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"TechArticle","@id":"https:\/\/salesforcedevops.net\/index.php\/2023\/06\/15\/introducing-ai-gateway-for-salesforce\/#article","isPartOf":{"@id":"https:\/\/salesforcedevops.net\/index.php\/2023\/06\/15\/introducing-ai-gateway-for-salesforce\/"},"author":{"name":"Vernon Keenan","@id":"https:\/\/salesforcedevops.net\/#\/schema\/person\/f681893c994bc40406bb391546cd7ac8"},"headline":"Introducing AI Gateway for Salesforce: Managed Access for OpenAI API","datePublished":"2023-06-15T17:02:12+00:00","dateModified":"2024-01-21T17:32:10+00:00","mainEntityOfPage":{"@id":"https:\/\/salesforcedevops.net\/index.php\/2023\/06\/15\/introducing-ai-gateway-for-salesforce\/"},"wordCount":1734,"commentCount":1,"publisher":{"@id":"https:\/\/salesforcedevops.net\/#organization"},"image":{"@id":"https:\/\/salesforcedevops.net\/index.php\/2023\/06\/15\/introducing-ai-gateway-for-salesforce\/#primaryimage"},"thumbnailUrl":"https:\/\/salesforcedevops.net\/wp-content\/uploads\/2023\/06\/presentation_slide_16_91920x1080-rid_c5283034-40f8-47b4-ae20-2811bd034863.png","articleSection":["Industry Analysis","Review"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/salesforcedevops.net\/index.php\/2023\/06\/15\/introducing-ai-gateway-for-salesforce\/#respond"]}],"copyrightYear":"2023","copyrightHolder":{"@id":"https:\/\/salesforcedevops.net\/#organization"},"accessibilityFeature":["tableOfContents"]},{"@type":"WebPage","@id":"https:\/\/salesforcedevops.net\/index.php\/2023\/06\/15\/introducing-ai-gateway-for-salesforce\/","url":"https:\/\/salesforcedevops.net\/index.php\/2023\/06\/15\/introducing-ai-gateway-for-salesforce\/","name":"Introducing AI Gateway for Salesforce: Managed Access for OpenAI API - SalesforceDevops.net","isPartOf":{"@id":"https:\/\/salesforcedevops.net\/#website"},"primaryImageOfPage":{"@id":"https:\/\/salesforcedevops.net\/index.php\/2023\/06\/15\/introducing-ai-gateway-for-salesforce\/#primaryimage"},"image":{"@id":"https:\/\/salesforcedevops.net\/index.php\/2023\/06\/15\/introducing-ai-gateway-for-salesforce\/#primaryimage"},"thumbnailUrl":"https:\/\/salesforcedevops.net\/wp-content\/uploads\/2023\/06\/presentation_slide_16_91920x1080-rid_c5283034-40f8-47b4-ae20-2811bd034863.png","datePublished":"2023-06-15T17:02:12+00:00","dateModified":"2024-01-21T17:32:10+00:00","description":"AI Gateway for Salesforce: Boost your developer productivity with OpenAI API directly within your Salesforce platform","inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/salesforcedevops.net\/index.php\/2023\/06\/15\/introducing-ai-gateway-for-salesforce\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/salesforcedevops.net\/index.php\/2023\/06\/15\/introducing-ai-gateway-for-salesforce\/#primaryimage","url":"https:\/\/salesforcedevops.net\/wp-content\/uploads\/2023\/06\/presentation_slide_16_91920x1080-rid_c5283034-40f8-47b4-ae20-2811bd034863.png","contentUrl":"https:\/\/salesforcedevops.net\/wp-content\/uploads\/2023\/06\/presentation_slide_16_91920x1080-rid_c5283034-40f8-47b4-ae20-2811bd034863.png","width":1200,"height":675,"caption":"Introducing AI Gateway for Salesforce: Managed Access for OpenAI API"},{"@type":"WebSite","@id":"https:\/\/salesforcedevops.net\/#website","url":"https:\/\/salesforcedevops.net\/","name":"SalesforceDevops.net","description":"Elevating Salesforce Devops with Insights and Innovation","publisher":{"@id":"https:\/\/salesforcedevops.net\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/salesforcedevops.net\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/salesforcedevops.net\/#organization","name":"SalesforceDevops.net","url":"https:\/\/salesforcedevops.net\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/salesforcedevops.net\/#\/schema\/logo\/image\/","url":"https:\/\/salesforcedevops.net\/wp-content\/uploads\/2021\/03\/7760e9c16fc75961659174739887197e-sticker.png","contentUrl":"https:\/\/salesforcedevops.net\/wp-content\/uploads\/2021\/03\/7760e9c16fc75961659174739887197e-sticker.png","width":421,"height":421,"caption":"SalesforceDevops.net"},"image":{"@id":"https:\/\/salesforcedevops.net\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/salesforcedevopsnet","https:\/\/x.com\/salesforcedevop","https:\/\/www.linkedin.com\/in\/vernonkeenan","https:\/\/www.youtube.com\/channel\/UCOgOn9rD5gyXSOmV7-Q0n7g"]},{"@type":"Person","@id":"https:\/\/salesforcedevops.net\/#\/schema\/person\/f681893c994bc40406bb391546cd7ac8","name":"Vernon Keenan","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/f1183f1ebb5c059e052825760f95b25244abc5ef832145327f298f3697f980c7?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/f1183f1ebb5c059e052825760f95b25244abc5ef832145327f298f3697f980c7?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/f1183f1ebb5c059e052825760f95b25244abc5ef832145327f298f3697f980c7?s=96&d=mm&r=g","caption":"Vernon Keenan"},"description":"Vernon Keenan (LinkedIn) works as a senior information technology industry consultant based in Oakland, California. He earned his B.Sc. in Biomedical Engineering at Northwestern University where he programmed a PDP-8 with punched paper tape. In his 34-year-long career he has been a teacher, SPSS programmer, database administrator, clinical researcher, technology journalist, product marketing manager, market researcher, management consultant, and industry analyst. Most recently he is a telecom operator, cloud architect, Go devops engineer and Salesforce Developer\/Architect. For inquiries about Salesforce strategy briefings or solution architect work please contact Vern directly at +1-510-679-1900 or vern@vernonkeenan.com.","sameAs":["https:\/\/ceres-gw.tnxs.net","https:\/\/linkedin.com\/in\/vernonkeenan","https:\/\/x.com\/salesforcedevop"],"url":"https:\/\/salesforcedevops.net\/index.php\/author\/vern\/"}]}},"uagb_featured_image_src":{"full":["https:\/\/salesforcedevops.net\/wp-content\/uploads\/2023\/06\/presentation_slide_16_91920x1080-rid_c5283034-40f8-47b4-ae20-2811bd034863.png",1200,675,false],"thumbnail":["https:\/\/salesforcedevops.net\/wp-content\/uploads\/2023\/06\/presentation_slide_16_91920x1080-rid_c5283034-40f8-47b4-ae20-2811bd034863-150x150.png",150,150,true],"medium":["https:\/\/salesforcedevops.net\/wp-content\/uploads\/2023\/06\/presentation_slide_16_91920x1080-rid_c5283034-40f8-47b4-ae20-2811bd034863-300x169.png",300,169,true],"medium_large":["https:\/\/salesforcedevops.net\/wp-content\/uploads\/2023\/06\/presentation_slide_16_91920x1080-rid_c5283034-40f8-47b4-ae20-2811bd034863-768x432.png",768,432,true],"large":["https:\/\/salesforcedevops.net\/wp-content\/uploads\/2023\/06\/presentation_slide_16_91920x1080-rid_c5283034-40f8-47b4-ae20-2811bd034863-1024x576.png",980,551,true],"1536x1536":["https:\/\/salesforcedevops.net\/wp-content\/uploads\/2023\/06\/presentation_slide_16_91920x1080-rid_c5283034-40f8-47b4-ae20-2811bd034863-1536x864.png",1536,864,true],"2048x2048":["https:\/\/salesforcedevops.net\/wp-content\/uploads\/2023\/06\/presentation_slide_16_91920x1080-rid_c5283034-40f8-47b4-ae20-2811bd034863.png",1200,675,false],"lightbox":["https:\/\/salesforcedevops.net\/wp-content\/uploads\/2023\/06\/presentation_slide_16_91920x1080-rid_c5283034-40f8-47b4-ae20-2811bd034863.png",1200,675,false],"search_results":["https:\/\/salesforcedevops.net\/wp-content\/uploads\/2023\/06\/presentation_slide_16_91920x1080-rid_c5283034-40f8-47b4-ae20-2811bd034863-125x125.png",125,125,true],"blog_entry":["https:\/\/salesforcedevops.net\/wp-content\/uploads\/2023\/06\/presentation_slide_16_91920x1080-rid_c5283034-40f8-47b4-ae20-2811bd034863.png",750,422,false],"blog_post":["https:\/\/salesforcedevops.net\/wp-content\/uploads\/2023\/06\/presentation_slide_16_91920x1080-rid_c5283034-40f8-47b4-ae20-2811bd034863.png",750,422,false],"blog_post_full":["https:\/\/salesforcedevops.net\/wp-content\/uploads\/2023\/06\/presentation_slide_16_91920x1080-rid_c5283034-40f8-47b4-ae20-2811bd034863.png",1200,675,false],"blog_related":["https:\/\/salesforcedevops.net\/wp-content\/uploads\/2023\/06\/presentation_slide_16_91920x1080-rid_c5283034-40f8-47b4-ae20-2811bd034863.png",1200,675,false],"gallery":["https:\/\/salesforcedevops.net\/wp-content\/uploads\/2023\/06\/presentation_slide_16_91920x1080-rid_c5283034-40f8-47b4-ae20-2811bd034863.png",1200,675,false]},"uagb_author_info":{"display_name":"Vernon Keenan","author_link":"https:\/\/salesforcedevops.net\/index.php\/author\/vern\/"},"uagb_comment_info":1,"uagb_excerpt":"I am thrilled to announce the open-source project AI Gateway for Salesforce. The project, which is designed to let you safely dip your toes into the generative AI waters, incorporates&hellip;","_links":{"self":[{"href":"https:\/\/salesforcedevops.net\/index.php\/wp-json\/wp\/v2\/posts\/32263","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/salesforcedevops.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/salesforcedevops.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/salesforcedevops.net\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/salesforcedevops.net\/index.php\/wp-json\/wp\/v2\/comments?post=32263"}],"version-history":[{"count":0,"href":"https:\/\/salesforcedevops.net\/index.php\/wp-json\/wp\/v2\/posts\/32263\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/salesforcedevops.net\/index.php\/wp-json\/wp\/v2\/media\/32273"}],"wp:attachment":[{"href":"https:\/\/salesforcedevops.net\/index.php\/wp-json\/wp\/v2\/media?parent=32263"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/salesforcedevops.net\/index.php\/wp-json\/wp\/v2\/categories?post=32263"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/salesforcedevops.net\/index.php\/wp-json\/wp\/v2\/tags?post=32263"},{"taxonomy":"post_series","embeddable":true,"href":"https:\/\/salesforcedevops.net\/index.php\/wp-json\/wp\/v2\/post_series?post=32263"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}