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
# Discovery Center mission - Get Started on SAP BTP with SAPUI5/Fiori - Create a Hello World App
2
-
3
-
## Overview
4
-
5
-
This sample shows how to set up your SAP BTP account for the Discovery Center Mission - [Get Started on SAP BTP with SAPUI5/Fiori - Create a Hello World App](https://discovery-center.cloud.sap/missiondetail/3585/)
6
-
7
-
## Content of setup
8
-
9
-
The setup comprises the following resources:
10
-
11
-
- Creation of the SAP BTP subaccount
12
-
- Enablement of Cloudfoundry Environment - [see available regions and endpoints](https://help.sap.com/docs/btp/sap-business-technology-platform/regions-and-api-endpoints-available-for-cloud-foundry-environment)
13
-
- Entitlements of services
14
-
* SAP Business Application Studio
15
-
* SAP Build Work Zone, standard edition
16
-
* Continous Integration & Delivery - Optional
17
-
- Subscriptions to applications
18
-
- Role collection assignments to users
19
-
20
-
## Deploying the resources
21
-
22
-
Make sure that you are familiar with SAP BTP and know both the [Get Started with btp-terraform-samples](https://github.com/SAP-samples/btp-terraform-samples/blob/main/GET_STARTED.md) and the [Get Started with the Terraform Provider for BTP](https://developers.sap.com/tutorials/btp-terraform-get-started.html)
23
-
24
-
To deploy the resources you must:
25
-
26
-
1. Set the environment variables BTP_USERNAME and BTP_PASSWORD to pass credentials to the BTP provider to authenticate and interact with your BTP environments.
27
-
28
-
```bash
29
-
export BTP_USERNAME=<your_username>
30
-
export BTP_PASSWORD=<your_password>
31
-
```
32
-
33
-
2. Change the variables in the `sample.tfvars` file to meet your requirements
34
-
35
-
> 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
36
-
37
-
> ⚠ 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]`.
38
-
39
-
40
-
3. Initialize your workspace:
41
-
42
-
```bash
43
-
terraform init
44
-
```
45
-
46
-
4. You can check what Terraform plans to apply based on your configuration:
47
-
48
-
```bash
49
-
terraform plan -var-file="sample.tfvars"
50
-
```
51
-
52
-
6. Apply your configuration to provision the resources:
53
-
54
-
```bash
55
-
terraform apply -var-file="sample.tfvars"
56
-
```
57
-
58
-
## When finished
59
-
60
-
You probably want to remove the assets after trying them out to avoid unnecessary costs. To do so execute the following command:
61
-
62
-
```bash
63
-
terraform destroy -var-file="sample.tfvars"
64
-
```
1
+
# Discovery Center Mission: Get Started on SAP BTP with SAPUI5/Fiori - Create a Hello World App
2
+
3
+
## Overview
4
+
5
+
This sample shows how to setup your SAP BTP account for the Discovery Center Mission - [Get Started on SAP BTP with SAPUI5/Fiori - Create a Hello World App](https://discovery-center.cloud.sap/protected/index.html#/missiondetail/3585) for your Enterprise BTP Account.
6
+
7
+
The respective setup of a trial account is described in [SAP-samples/btp-terraform-samples/tree/main/released/discovery_center/mission_3585_trial/README.md](https://github.com/SAP-samples/btp-terraform-samples/tree/main/released/discovery_center/mission_3585_trial/README.md)
8
+
9
+
## Content of setup
10
+
11
+
The setup comprises the following resources:
12
+
13
+
- Creation of the SAP BTP subaccount
14
+
- Entitlements of services
15
+
- Subscriptions to applications
16
+
- Role collection assignments to users
17
+
18
+
## Deploying the resources
19
+
20
+
Make sure that you are familiar with SAP BTP and know both the [Get Started with btp-terraform-samples](https://github.com/SAP-samples/btp-terraform-samples/blob/main/GET_STARTED.md) and the [Get Started with the Terraform Provider for BTP](https://developers.sap.com/tutorials/btp-terraform-get-started.html)
21
+
22
+
To deploy the resources you must:
23
+
24
+
1. Set your credentials as environment variables
25
+
26
+
```bash
27
+
export BTP_USERNAME ='<Email address of your BTP user>'
28
+
export BTP_PASSWORD ='<Password of your BTP user>'
29
+
```
30
+
31
+
2. Change the variables in the `sample.tfvars` file to meet your requirements
32
+
33
+
> The minimal set of parameters you should specify (besides user_email and password) is global account (i.e. its subdomain) and all user assignments
34
+
35
+
3. Then initialize your workspace:
36
+
37
+
```bash
38
+
terraform init
39
+
```
40
+
41
+
4. You can check what Terraform plans to apply based on your configuration:
42
+
43
+
```bash
44
+
terraform plan -var-file="sample.tfvars"
45
+
```
46
+
47
+
5. Apply your configuration to provision the resources:
48
+
49
+
```bash
50
+
terraform apply -var-file="sample.tfvars"
51
+
```
52
+
53
+
6. Verify e.g., in [BTP Cockpit](https://cockpit.btp.cloud.sap) that a new subaccount with a SAP Business Application Studio subscription has been created and respective users were assigned to role collections
54
+
55
+
With this you have completed the quick account setup as described in the Discovery Center Mission - [Get Started on SAP BTP with SAPUI5/Fiori - Create a Hello World App](https://discovery-center.cloud.sap/protected/index.html#/missiondetail/3585).
56
+
57
+
## In the end
58
+
59
+
You probably want to remove the assets after trying them out to avoid unnecessary costs. To do so execute the following command:
# Subscription to the cicd-app subscription is required for creating the service instance
42
49
# See as well https://help.sap.com/docs/continuous-integration-and-delivery/sap-continuous-integration-and-delivery/optional-enabling-api-usage?language=en-US
0 commit comments