---
auto_validation: true
time: 15
author_name: Daniel Wroblewski
author_profile: https://github.com/thecodester
tags: [ tutorial>beginner, topic>cloud ]
primary_tag: topic>cloud
parser: v2
slug: joule-studio-codejam-9-release-deploy
canonical_url: https://developers.sap.com/tutorials/joule-studio-codejam-9-release-deploy
---
  
# 9 - Release and Deploy to Shared Environment
<!-- description --> Create a release version of your project and deploy to your shared environment, where you can perform more testing or send to production.
 
## You will learn
- How to create a release version of a Joule Studio project
- How to deploy a Joule Studio project
- How to test your Joule Studio project in your shared environment

## Prerequisites
- You have completed the previous tutorial in the Joule Studio CodeJam Mission, [Add Subagent to Convert Currency Using MCP Server](joule-studio-codejam-8-subagent-mcp).


## Intro
In this tutorial, you will deploy your project to your shared environment.

In a production setting, you would create two shared environments, one for testing one for production. The one for production you would change the settings so any projects deployed to it are exposed in the production Joule.



### Release project
1. Open your project, and make sure it is saved.

2. Click **Release** in the upper right.

    ![Release](https://raw.githubusercontent.com/sap-tutorials/developer-advocates/main/tutorials/joule-studio-codejam-9-release-deploy/1-release-1.png)

    Since this is your first release, the dialog will show the version as 1.0.0. You can add a release note if you want.

    Click **Release**.

    ![Click Release](https://raw.githubusercontent.com/sap-tutorials/developer-advocates/main/tutorials/joule-studio-codejam-9-release-deploy/1-release-2.png)

    After the project is released, you will see a success message at the top of the screen.

    ![New release](https://raw.githubusercontent.com/sap-tutorials/developer-advocates/main/tutorials/joule-studio-codejam-9-release-deploy/1-release-3.png)



### Deploy project
1. Navigate to the released version by clicking **Show project version**.

    ![New release](https://raw.githubusercontent.com/sap-tutorials/developer-advocates/main/tutorials/joule-studio-codejam-9-release-deploy/2-deploy-1.png)

    You will now see a button to deploy the project.

    ![Deploy button](https://raw.githubusercontent.com/sap-tutorials/developer-advocates/main/tutorials/joule-studio-codejam-9-release-deploy/2-deploy-2.png)

2. Click **Deploy**.

3. In the **Choose an Environment** dialog, select your shared environment you created at the start of the CodeJam.

    Click **Deploy**.

    ![Deploy](https://raw.githubusercontent.com/sap-tutorials/developer-advocates/main/tutorials/joule-studio-codejam-9-release-deploy/2-deploy-3.png)

4. Select the environment variables, the same as when you did tested, just you do not have to select a private environment.

    | Field         | Value                                     |
    |---------------|-------------------------------------------|
    | **GetFromGTT**        | Select **gttGetService** destination                  |
    | **PostToGTT** | Select **gttwriteservice** destination |   

    Click **Deploy**.

    ![Deploy variables](https://raw.githubusercontent.com/sap-tutorials/developer-advocates/main/tutorials/joule-studio-codejam-9-release-deploy/2-deploy-4.png)

    When complete, you will see a success message at the bottom and new deployment at the top.

    ![Deploy finished](https://raw.githubusercontent.com/sap-tutorials/developer-advocates/main/tutorials/joule-studio-codejam-9-release-deploy/2-deploy-5.png)




### Test in shared environment
1. In the SAP Build Lobby, go to **Control Tower > Environments**.

    ![Shared environment](https://raw.githubusercontent.com/sap-tutorials/developer-advocates/main/tutorials/joule-studio-codejam-9-release-deploy/3-launch-1.png)

2. Open your shared environment by clicking it (not the private environment).

    ![Shared environment](https://raw.githubusercontent.com/sap-tutorials/developer-advocates/main/tutorials/joule-studio-codejam-9-release-deploy/3-launch-2.png)

3. In the **Projects** tab, which should be selected automatically, you will see the projects deployed to this environment.

    You should see the project you just deployed.

    ![Projects](https://raw.githubusercontent.com/sap-tutorials/developer-advocates/main/tutorials/joule-studio-codejam-9-release-deploy/3-launch-3.png)

4. Since this is a Joule-related project, open the **Joule** tab.

    >The **Joule** tab may be hidden under the **More** button.
    >
    >![More](https://raw.githubusercontent.com/sap-tutorials/developer-advocates/main/tutorials/joule-studio-codejam-9-release-deploy/3-launch-4.png)

    Here you will see all the Joule Studio projects deployed to this environment.

    >![Joule tab](https://raw.githubusercontent.com/sap-tutorials/developer-advocates/main/tutorials/joule-studio-codejam-9-release-deploy/3-launch-5.png)

5. Click **Launch**.

    This launches in a new browser tab Joule for this environment, meaning you can prompt for all the projects in this environment.

    >![Joule instance](https://raw.githubusercontent.com/sap-tutorials/developer-advocates/main/tutorials/joule-studio-codejam-9-release-deploy/3-launch-6.png)

Go ahead and test again the prompts for the your logistics agent.   



### Explore how to send to production
We will not deploy to the shared Joule for this project, but still you should know how that would be done.

Inside your environment, there is a setting to tell Joule Studio to send your skills and agents to Joule. If you enable the switch, all projects in the environment are made available in production to people with permission to this environment.

![Production](https://raw.githubusercontent.com/sap-tutorials/developer-advocates/main/tutorials/joule-studio-codejam-9-release-deploy/4-explore-1.png)

In a production setting, you would create:

- A test shared environment, whose projects would not be sent to Joule (toggle off).

- A production shared environment, whose projects would be sent to Joule (toggle on).

>**IMPORTANT:** Please do not turn this setting on.
>
>![Red button](https://raw.githubusercontent.com/sap-tutorials/developer-advocates/main/tutorials/joule-studio-codejam-9-release-deploy/redbutton.jpg)



### Questions to ponder
- What do environments allow you to do?

- What are the authorizations available in an environment? See [Share an Environment](https://help.sap.com/docs/build-service/build-service-guide/share-environment).