You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: released/discovery_center/mission_4371/step1/README.md
+17-9Lines changed: 17 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
# Discovery Center Mission: Develop a CAP-based (multitenant) application using GenAI and RAG (4371)
1
+
# Discovery Center Mission: Develop a CAP-based (multitenant) application using GenAI and RAG (4371) - Step 1
2
2
3
3
## Overview
4
4
@@ -18,27 +18,35 @@ The setup comprises the following resources:
18
18
19
19
To deploy the resources you must:
20
20
21
-
1. Export environment variables BTP_USERNAME, BTP_PASSWORD, CF_USER, and CF_PASSWORD with your username and password for the custom IdP of your global account.
21
+
1. Set your credentials as environment variables
22
+
23
+
```bash
24
+
export BTP_USERNAME ='<Email address of your BTP user>'
25
+
export BTP_PASSWORD ='<Password of your BTP user>'
26
+
export CF_USER ='<Email address of your BTP user>'
27
+
export CF_PASSWORD ='<Password of your BTP user>'
28
+
```
29
+
30
+
2. Change the variables in the `sample.tfvars` file in the main folder to meet your requirements
22
31
23
-
2. Change the variables in the `samples.tfvars` file in the main folder to meet your requirements
32
+
> The minimal set of parameters you should specify (besides user_email and password) is global account (i.e. its subdomain) and the used custom_idp and all user assignments
24
33
25
-
> ⚠ NOTE: You should pay attention **specifically** to the users defined in the samples.tfvars whether they already exist in your SAP BTP accounts. Otherwise you might get error messages like e.g. `Error: The user could not be found: [email protected]`.
34
+
> ⚠ NOTE: You should pay attention **specifically** to the users defined in the sample.tfvars whether they already exist in your SAP BTP accounts. Otherwise, you might get error messages like, e.g.,`Error: The user could not be found: [email protected]`.
26
35
27
-
3. Execute the apply.sh script.
28
36
29
-
4. Verify e.g., in BTP cockpit that a new subaccount with a integration suite, SAP Business Application Studio, CF environment instance and a CF space have been created.
37
+
3. Initialize your workspace:
30
38
31
39
```bash
32
40
terraform init
33
41
```
34
42
35
-
5. You can check what Terraform plans to apply based on your configuration:
43
+
4. You can check what Terraform plans to apply based on your configuration:
36
44
37
45
```bash
38
46
terraform plan -var-file="sample.tfvars"
39
47
```
40
48
41
-
6. Apply your configuration to provision the resources:
49
+
5. Apply your configuration to provision the resources:
42
50
43
51
```bash
44
52
terraform apply -var-file="sample.tfvars"
@@ -50,4 +58,4 @@ You probably want to remove the assets after trying them out to avoid unnecessar
error_message="Please enter a valid entry for the target_ai_core_model of the AI Core service. Valid values are: gpt-35-turbo, gpt-35-turbo-16k, gpt-4, gpt-4-32k, text-embedding-ada-002, tiiuae--falcon-40b-instruct."
0 commit comments