Using Microsoft Azure Portal for Managing Keys and APIs for Azure AI Services
Make how-to guides like this one in a snap.

Erik Pilgrim

Created May 24, 2024

Using Microsoft Azure Portal for Managing Keys and APIs for Azure AI Services

10
    p

Microsoft Azure portal (PWA)

2 Steps
1

Click on your OCR resource, if one does not exist Create a new Document Intelligence Resource

Click on your OCR resource, if one does not exist Create a new Document Intelligence Resource
2

Click on Copy to clipboard the value for Endpoint for this demo, ours is https://rdcentralocr.cognitiveservices.azure.com/

Click on Copy to clipboard the value for Endpoint for this demo, ours is https://rdcentralocr.cognitiveservices.azure.com/

#

Salesforce

8 Steps
3

Click on Quick Find

Click on Quick Find
4

Click on Trusted URLs

Click on Trusted URLs
5

Click on New Trusted URL

Click on New Trusted URL
6

Type "renderdrawocr"

Type "renderdrawocr"
7

Type your OCR endpoint, ours is "https://rdcentralocr.cognitiveservices.azure.com"

Type your OCR endpoint, ours is "https://rdcentralocr.cognitiveservices.azure.com"
8

Check connect-src (scripts)

Check connect-src (scripts)
9

Check frame-src (iframe content)

Check frame-src (iframe content)
10

Click on Save

Click on  Save
    e

Go back to your Microsoft Azure portal

9 Steps
11

Click on Click here to manage keys

Click on Click here to manage keys
12

Click on These keys are used to access your Azure AI services API. Do not share your keys. Store them securely– for example, using Azure Key Vault. We also recommend regenerating these keys regularly. Only one key is necessary to make an API call. When regenerating the first key,…

Click on These keys are used to access your Azure AI services API. Do not share your keys. Store them securely– for example, using Azure Key Vault. We also recommend regenerating these keys regularly. Only one key is necessary to make an API call. When regenerating the first key,…
13

Go back to your Salesforce Instance. We need to add an OCR Metadata entry for RenderDraw

14

Type "custom metadata"

Type "custom metadata"
15

Click on Custom Metadata Types

Click on Custom Metadata Types
16

Click on Del | Manage Records

Click on Del | Manage Records
17

Click on Manage Records

Click on Manage Records
18

Click on New

Click on  New
19

Paste your key into the API Key text area

Paste your key into the API Key text area
    e

Microsoft Azure portal (PWA)

1 Step
20

Click on These keys are used to access your Azure AI services API. Do not share your keys. Store them securely– for example, using Azure Key Vault. We also recommend regenerating these keys regularly. Only one key is necessary to make an API call. When regenerating the first key,…

Click on These keys are used to access your Azure AI services API. Do not share your keys. Store them securely– for example, using Azure Key Vault. We also recommend regenerating these keys regularly. Only one key is necessary to make an API call. When regenerating the first key,…

#

Salesforce

10 Steps
21

Paste "https://rdcentralocr.cognitiveservices.azure.com/" into input

Paste "https://rdcentralocr.cognitiveservices.azure.com/" into input
22

Type "AzureOCR"

Type "AzureOCR"
23

Click on Save

Click on  Save
24

Type "remote"

Type "remote"
25

Click on Remote Site Settings

Click on Remote Site Settings
26

Click on New Remote Site

Click on New Remote Site
27

Type "Azure_OCR"

Type "Azure_OCR"
28

Paste "https://rdcentralocr.cognitiveservices.azure.com/" into input

Paste "https://rdcentralocr.cognitiveservices.azure.com/" into input
29

Click on Save

Click on  Save
30

Now your Salesforce instance is setup for OCR with Azure + RenderDraw

Well done!
Create how-to guides like this in a snap. Get Tango now.