# Direct Flow

{% hint style="info" %}
This guide assumes that you have purchased the Direct Flow Add-on. If you would like to learn how to purchase Add-ons for your plan, please read the '[**10. Add-ons**](https://docs.arcware.cloud/arcware-cloud-platform/getting-started-with-arcware-cloud/products/the-marketplace/broken-reference)' section...
{% endhint %}

With Direct Flow, you have the power to effortlessly link your local Unreal projects to Arcware Cloud. Using Direct Flow speeds up your development process, as it removes the need to upload your package to Arcware Cloud for testing.&#x20;

<figure><img src="https://451842398-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxeRHVvCMHTEw8OnxbYIg%2Fuploads%2FrD4Kn0lpTR2fLUPnOmgj%2Fdf_doc_01.png?alt=media&#x26;token=6b0c7dfa-7d86-4894-bdac-29409818013c" alt=""><figcaption></figcaption></figure>

## Understanding Direct Flow's settings

<figure><img src="https://451842398-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxeRHVvCMHTEw8OnxbYIg%2Fuploads%2FLrOY9qxAqJhv95G2bj5i%2FAdd-on_guides%20-%20Direct_Flow%20-%20Settings%20.jpg?alt=media&#x26;token=0174b9a7-6697-4afb-af32-6ed119dcbc53" alt=""><figcaption></figcaption></figure>

1. **Direct Flow information:**\
   This information here shows you the name, license number and activation status of this specific Direct Flow.
2. **Project:**\
   Here you can select which one of your projects in Arcware Cloud you want to link this Direct Flow to. The project you select will provide the configuration for the Direct Flow stream, meaning you will use the settings from the chosen Arcware Cloud project, but the application from your local machine.&#x20;
3. **Token:**\
   The token is a generated unique ID, which is present in the **Share Link** and **Start Parameter,** it's used to link your Unreal Project to Arcware Cloud. \
   \
   You have the possibility here to generate a new token if needed, but understandably, this will mean any previous connections you set up with this token are now invalid and you need to copy the **Share Link** and **Start Parameter** again. \
   \
   It would be a good practice to regenerate your **Token** after every time you share the **Share Link** with someone, as this will remove access for all users and prevent anyone from accidentally blocking your Direct Flow connection by using the link themselves.&#x20;
4. **Share Link:**\
   Clicking this button will open your Direct Flow stream via a new tab in your web browser. The **Share Link** can be used to view your stream (as long as your Unreal Project/application is still running on your local machine).&#x20;
5. **Preview Link:** \
   Clicking this button will open your Direct Flow stream as a preview window inside Arcware Cloud (only viewable by you)
6. **Copy Start Parameter:**\
   This will automatically copy the **Start Pararemeter** to your clipboard. The **Start Parameter** is what you will need to copy/paste into the 'Launch Parameters' of your Unreal project or your packaged Unreal application, to allow connection to Arcware Cloud. This parameter uses the previously mentioned '**Token'**, so naturally if you regenerate the **Token** you will need to copy the **Start Parameter** to Unreal again.&#x20;
7. **Manage Subscription:**\
   Clicking this button will direct you to the **Manage Subscriptions** page, where you can view or make changes to your Direct Flow Add-on.&#x20;

## How to use Direct Flow:

<figure><img src="https://451842398-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxeRHVvCMHTEw8OnxbYIg%2Fuploads%2F6he5TJlRFKvLRRKwbnpt%2Fdf_doc_02.png?alt=media&#x26;token=4292079c-e7e2-47c6-8d4c-44f706f4e73e" alt=""><figcaption></figcaption></figure>

1. **Click 'Add new Direct Flow'** (you can of course use an existing Direct Flow instead)

<figure><img src="https://451842398-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxeRHVvCMHTEw8OnxbYIg%2Fuploads%2FlSRpkm5sKA2phIsTDasf%2Fdf_doc_03.png?alt=media&#x26;token=3625b523-fc1a-45b8-92dd-2e378436522d" alt=""><figcaption></figcaption></figure>

2. **Give the Direct Flow a name**
3. **Click 'Create Direct Flow'**

<figure><img src="https://451842398-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxeRHVvCMHTEw8OnxbYIg%2Fuploads%2F5VOhXlIVNmxB6PH2ncB7%2Fdf_doc_04.png?alt=media&#x26;token=5f8ab968-5da2-4601-8d82-1617c6f1b7f2" alt=""><figcaption></figcaption></figure>

4. **Click 'Copy Start Parameter'**
5. Then either paste the **Start Parameter** into your Unreal project or into a packaged Unreal application... \
   \
   **How to add Start Parameter to Unreal Engine project:**\
   \- Open your Unreal Engine project\
   \
   \- Navigate to '**Advanced Settings**'.\ <img src="https://451842398-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxeRHVvCMHTEw8OnxbYIg%2Fuploads%2Fjvfb7P2A0N9kTabYvn5B%2Fimage.png?alt=media&#x26;token=d1720e6f-8e77-4dc6-9ca2-f5a64ab8bddc" alt="" data-size="original">\
   \
   \- Paste the **Start Parameter** into '**Additional Start Parameters'**.\
   ![](https://451842398-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxeRHVvCMHTEw8OnxbYIg%2Fuploads%2FmAeqtjg7EuNVDFesBlA1%2FAdd-on_guides%20-%20Direct_Flow%20-%20How%20to%20use%20step_05%20.jpg?alt=media\&token=82a3bf8c-0f96-4460-8900-6c6eb50fbaed)\
   \
   \- Launch the project as **'Standalone Game'**.\
   &#x20;![](https://451842398-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxeRHVvCMHTEw8OnxbYIg%2Fuploads%2FjWLCtdmBTrsksp7ZpZuL%2FAdd-on_guides%20-%20Direct_Flow%20-%20How%20to%20use%20step_06%20.jpg?alt=media\&token=eccd3d01-f9a2-4be1-b83f-9cc85be79c9a)\
   \
   \- Your Unreal Project is now ready for Direct Flow.\
   \
   \
   \
   **How to add Start Parameter to Unreal Engine packaged application:**\
   \- Create a Shortcut to your application. (right click > Create Shortcut)\
   \
   \- Open the properties of the Shortcut. (right click > Properties)\
   \
   \- Paste the **Start Parameter** into the '**Target**' field and click OK. You will need to leave a single empty space after the existing path and then paste the **Start Parameter** there.\
   &#x20;![](https://451842398-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxeRHVvCMHTEw8OnxbYIg%2Fuploads%2FNuc3Xnj80Fok4JBGrxPU%2FAdd-on_guides%20-%20Direct_Flow%20-%20How%20to%20use%20step_07%20.jpg?alt=media\&token=40e18b99-2857-4cb1-96c7-52b8e6d1bae4)\
   \
   \- Run the Shortcut.\
   \
   \- Your Unreal application is now ready for Direct Flow.

<figure><img src="https://451842398-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxeRHVvCMHTEw8OnxbYIg%2Fuploads%2FQsLbRDgYRKIDqJ1eRgNb%2Fdf_doc_05.png?alt=media&#x26;token=64dcd6e4-60be-411c-a9e5-bd1d3fed658e" alt=""><figcaption></figcaption></figure>

6. **Open Share Link:** \
   Once you have pasted the **Start Parameter** into your Unreal project/application and it is launched/running, you can then open the **Share Link** belonging to the Direct Flow.

<figure><img src="https://451842398-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxeRHVvCMHTEw8OnxbYIg%2Fuploads%2FXRn0mGuZKvnfvXtdOJUd%2FAdd-on_guides%20-%20Direct_Flow%20-%20How%20to%20use%20step_09%20.jpg?alt=media&#x26;token=a8eb3b04-6996-4c45-bb2c-705bb4747e30" alt=""><figcaption></figcaption></figure>

7. **Finished!**\
   Now you have successfully connected your local Unreal project to Arcware Cloud via DirectFlow.&#x20;

***

### Youtube explanatory video | Direct Flow <a href="#youtube-explanatory-video" id="youtube-explanatory-video"></a>

{% embed url="<https://youtu.be/VJ9PyVZUH10?si=R01h07hTd6zs_fb3&t=186>" fullWidth="false" %}
