---
author_name: Martin Plummer
author_profile: https://github.com/mhplum
keywords: tutorial
auto_validation: true
time: 20
tags: [ tutorial>beginner, software-product>sap-business-technology-platform, tutorial>license]
primary_tag: software-product>sap-build
parser: v2
slug: joulestudio-skill-environment-setup
canonical_url: https://developers.sap.com/tutorials/joulestudio-skill-environment-setup
---


# Setup Environment and Connectivity for Joule Skills
<!-- description --> Setup environment and connectivity for developing and testing Joule Skills.

## Prerequisites

- Access to an SAP BTP tenant configured for Joule and Joule Studio, classic edition. See [Set Up Joule Studio, classic edition](https://help.sap.com/docs/Joule_Studio/45f9d2b8914b4f0ba731570ff9a85313/04b323352fa645238211ce017f634d34.html) or the [Discovery Center mission](https://discovery-center.cloud.sap/missiondetail/4651/4940/).

## You will learn
  - How to create a test environment
  - How to create destinations in SAP BTP Cockpit to connect to backend systems
  - How to configure destinations to be used with actions



### Create an Environment for Testing Joule Skills

1. Open the SAP Build Lobby.

    > The lobby is a central page for creating, accessing, and managing your projects in SAP Build.

2. Choose **Control Tower**, then choose **Environments**.

    ![Control tower](https://raw.githubusercontent.com/sap-tutorials/sap-build-process-automation/main/tutorials/joulestudio-skill-environment-setup/joulestudio-controltower.png)

3. Choose **Create**. In the popup, enter a name and description, then choose **Create**.

    ![Create environment](https://raw.githubusercontent.com/sap-tutorials/sap-build-process-automation/main/tutorials/joulestudio-skill-environment-setup/joulestudio-environments-create.png)

4. Choose your environment, then choose the **Joule** tab.

    ![Joule tab in environment](https://raw.githubusercontent.com/sap-tutorials/sap-build-process-automation/main/tutorials/joulestudio-skill-environment-setup/joulestudio-environments-joule.png)

Since this is a new environment and you have not yet deployed a Joule skill, there is no data and you cannot launch the standalone Joule Digital Assistant. 


### Create Destinations

1. Open **SAP Cloud Platform Cockpit** and go to **Connectivity > Destinations**.

2. Choose **Create**.

    ![Create destination from scratch](https://raw.githubusercontent.com/sap-tutorials/sap-build-process-automation/main/tutorials/joulestudio-skill-environment-setup/joulestudio-destinations-s4hanamock-scratch.png)

3. Choose **From Scratch** and then **Create**.

4. Enter:

    |  Field Name     | Value
    |  :------------- | :-------------
    |  Name           | **`S4HANA_MOCK`**
    |  URL            | **`https://s4hana-mock.cfapps.eu10.hana.ondemand.com/sap/opu/odata/sap/API_BUSINESS_PARTNER`**

5. Choose **Add Property** three times.

6. Enter the following parameters:

    |  Key            | Value
    |  :------------- | :-------------
    |  **`sap.processautomation.enabled`**                         | **`true`**
    |  **`sap.applicationdevelopment.actions.enabled`**            | **`true`**
    |  **`sap.build.usage`**                                       | **`odata_gen`**

 

    ![Create destination](https://raw.githubusercontent.com/sap-tutorials/sap-build-process-automation/main/tutorials/joulestudio-skill-environment-setup/joulestudio-destinations-s4hanamock-create.png)


7. Choose **Create**.

8. Choose **Check Connection**.

    ![Check connection success](https://raw.githubusercontent.com/sap-tutorials/sap-build-process-automation/main/tutorials/joulestudio-skill-environment-setup/joulestudio-destinations-s4hanamock-check.png)

9. Choose **Close**.

10. Choose **Duplicate**.

11. Enter:

    |  Field Name     | Value
    |  :------------- | :-------------
    |  Name           | **`Badge_Service`**
    |  URL            | **`https://badges.cfapps.eu10.hana.ondemand.com/service/BadgeRequests`**


    ![Badge service destination](https://raw.githubusercontent.com/sap-tutorials/sap-build-process-automation/main/tutorials/joulestudio-skill-environment-setup/joulestudio-destinations-badgeservice.png)

12. Choose **Create**.

13. Choose **Check Connection**.

    ![Check connection success](https://raw.githubusercontent.com/sap-tutorials/sap-build-process-automation/main/tutorials/joulestudio-skill-environment-setup/joulestudio-destinations-badgeservice-check.png)

14. Choose **Close**.


### Associate Destinations with Environments

1. Open the SAP Build Lobby.

2. Choose **Control Tower**, then choose **Destinations**.

    ![Control tower destinations](https://raw.githubusercontent.com/sap-tutorials/sap-build-process-automation/main/tutorials/joulestudio-skill-environment-setup/joulestudio-controltower-destinations.png)

4. Choose **Add**.

5. Select your **Badge_Service** destination and choose **Next**.

    ![Select destination](https://raw.githubusercontent.com/sap-tutorials/sap-build-process-automation/main/tutorials/joulestudio-skill-environment-setup/joulestudio-controltower-destinations-select.png)

6. Select **Specific Environments** and search for the environment you created earlier.

    ![Associate environments](https://raw.githubusercontent.com/sap-tutorials/sap-build-process-automation/main/tutorials/joulestudio-skill-environment-setup/joulestudio-controltower-destinations-associate-environments.png)

7. Select your environment.

8. Search for the **Public** environment and select that as well. 

9. Choose **Add Destination**.

    ![Add destinations](https://raw.githubusercontent.com/sap-tutorials/sap-build-process-automation/main/tutorials/joulestudio-skill-environment-setup/joulestudio-controltower-destinations-add.png)

10. Repeat the above steps to add your **S4HANA_MOCK** destination.

11. Check that both destinations have been configured for both the **Public** and your own environments. 

    ![Lobby](https://raw.githubusercontent.com/sap-tutorials/sap-build-process-automation/main/tutorials/joulestudio-skill-environment-setup/joulestudio-controltower-destinations-check.png)

### Test yourself
