Skip to content

Commit 3778cfc

Browse files
azure tutorial
1 parent 61b7981 commit 3778cfc

7 files changed

Lines changed: 79 additions & 0 deletions

File tree

Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
---
2+
author_name: Dhrubajyoti Paul
3+
author_profile: https://github.com/dhrubpaul
4+
title: Setup Azure Bucket With AI Core
5+
description: In this tutorial we will be walking through the steps on how to Set up azure bucket (Azure Blob Storage) with SAP AI Core
6+
keywords: Azure Bucket setup
7+
auto_validation: true
8+
time: 10
9+
tags: [ tutorial>beginner, topic>artificial-intelligence, topic>machine-learning, software-product>sap-business-technology-platform, software-product>sap-ai-launchpad, software-product>sap-ai-core ]
10+
primary_tag: software-product>sap-ai-core
11+
parser: v2
12+
---
13+
# Setup Azure DataBucket With AI Core
14+
<!-- description -->Set up azure bucket (Azure Blob Storage) with SAP AI Core.
15+
16+
## Prerequisites
17+
- An existing Azure account with Admin access to create and use Azure Datastore.
18+
-TODO establish the setup prerequisites for SAP AI Core
19+
![image](img/azure-dashboard.png)
20+
21+
## You will learn
22+
- About Azure data store
23+
- To setup Azure for use with AI core
24+
- Setup Azure data buckets for use with AI Core.
25+
26+
## What is azure data store ?
27+
28+
>**IMPORTANT** Before you start this tutorial with SAP AI Launchpad, it is recommended that you should set up at least one other tool, either Postman or Python (SAP AI Core SDK) because some steps of this tutorial cannot be performed with SAP AI Launchpad.
29+
30+
31+
### System Setup
32+
For Detailed docs reffer : [AI Core Setup](https://developers.sap.com/tutorials/ai-core-setup.html)
33+
TODO establish the setup prerequisites for SAP AI Core
34+
35+
36+
- Downloading postman config
37+
38+
Go to [AI core API](https://api.sap.com/api/AI_CORE_API/overview) and download the JSON File.
39+
40+
![image](img/download-json.png)
41+
42+
- Open Postman and in the Top right corner click on Import.
43+
44+
![image](img/create-collection.png)
45+
46+
- Under file click on Choose file and Select the Json that you just downloaded.
47+
48+
![image](img/import-json.png)
49+
50+
- Once the Import is done you will be able to see the Postman config.
51+
52+
![image](img/postman.png)
53+
54+
### Creating Object store Secret
55+
56+
At Postman at AI core API Go to admin > Object store secret > create object store secret.
57+
And set the following json as body
58+
```Python
59+
{
60+
"name": "default",
61+
"type": "azure",
62+
"pathPrefix": "<path prefix to be appended>",
63+
"data": {
64+
"CONTAINER_URI": "https://account_name.blob.core.windows.net/container_name", # required
65+
"REGION": "<region-name>", # optional
66+
"CLIENT_ID": "<azure-client-id>", # optional
67+
"CLIENT_SECRET": "<azure-client-secret>", # optional
68+
"STORAGE_ACCESS_KEY": "sas_token", # optional
69+
"TENANT_ID": "azure tenant id", # optional
70+
"SUBSCRIPTION_ID": "subscription id", # optional
71+
}
72+
}
73+
```
74+
75+
Once Its done click on Send
76+
77+
![image](img/postman-call.png)
78+
79+
Hence Your Object Store secret for Azure Data buckets is created.
138 KB
Loading
205 KB
Loading
226 KB
Loading
157 KB
Loading
439 KB
Loading
294 KB
Loading

0 commit comments

Comments
 (0)