# Share a Workflow

Share a workflow to let people view, run, and fork the workflow.

1.  Go to your Workflow page and click on the Share Workflow button\


    <figure><img src="https://662926385-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M6S9nPJhEX9FYH6clfW%2Fuploads%2FMi4M0QDGmmB9gUjH0iSH%2FCleanShot%202025-01-29%20at%2021.57.42%402x.png?alt=media&#x26;token=8727fd3a-27a3-4b77-bb43-ffe6003a22ff" alt=""><figcaption><p>Share Workflow button on Workflow Editor.</p></figcaption></figure>
2.  Click on the button **Copy Share Link**\


    <figure><img src="https://662926385-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M6S9nPJhEX9FYH6clfW%2Fuploads%2FdOI7O5lA1UUWxus7Y61D%2Fimage.png?alt=media&#x26;token=7f5b7efb-9e3c-47b6-954a-378f330cfb63" alt=""><figcaption><p>Share Workflow configuration modal.</p></figcaption></figure>
3.  Send to someone or open in your browser. You will see that this will open a read-only version of your workflow that allows people to see what you built and run previews on it.\


    <figure><img src="https://662926385-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M6S9nPJhEX9FYH6clfW%2Fuploads%2FDuiyqr6ffzw5BAof0UsQ%2FCleanShot%202025-01-29%20at%2021.57.13%402x.png?alt=media&#x26;token=db938939-82e0-47eb-81c6-7c208c728a23" alt=""><figcaption><p>Shareable Workflow URL.</p></figcaption></figure>

By default, a shared Workflow does not run under your API Keys and credentials. This means that it does not consume your usage limits and replaces any credentials like OpenAI API Key on your blocks as input parameters the user should provide. You can modify that behavior by changing the Workflow Sharing Configuration.

Here's an example of a shareable Workflow that takes a picture as an input and determines the winner of a Rock, Paper & Scissors game. Give it a try!

{% embed url="https://app.roboflow.com/workflows/embed/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ3b3JrZmxvd0lkIjoidXFSSDgwVlFrcUV5OXp4cHp0bUYiLCJ3b3Jrc3BhY2VJZCI6ImtyT1RBYm5jRmhvUU1DZExPbGU0IiwidXNlcklkIjoiRVJNUFBZY3FQMmZWWjB1NkRpNXZaYXJDdlZPMiIsImlhdCI6MTcyNzA5NTQ0MX0.ZViKmHztQzhyLhyGjWEVF0zaku1DD0OjnfoM0YGvDIY" %}

### How Workflow sharing works with private credentials

By default, a shared Workflow does not run under your API Keys and credentials. This means that it does not consume your usage limits and replaces any credentials like OpenAI API Key on your blocks as input parameters the user should provide. You can change this behavior by changing sharing configurations:

#### Allow people to run a Workflow under your API Key

This is useful when you want to share a Workflow containing a private Model - since the default behavior is not to run under your API key, a Workflow containing a private Model will fail to execute - so you change that to allow a protected run: it will affect your usage limits, but your API Key and model data will always be private.

To do so, go to the **Run access** section and change it to allow anyone to run the Workflow.

<figure><img src="https://662926385-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M6S9nPJhEX9FYH6clfW%2Fuploads%2FSucW5xn6CmW0M9sr572z%2Fimage.png?alt=media&#x26;token=554f6540-e26d-405e-9aae-76b29da0bf26" alt=""><figcaption><p>Run Access dropdown options.</p></figcaption></figure>

<figure><img src="https://662926385-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M6S9nPJhEX9FYH6clfW%2Fuploads%2FwETHrpth1Rcwt1ZA25Kh%2Fimage.png?alt=media&#x26;token=44975751-d409-4430-ba0e-f6bdeccbe938" alt=""><figcaption><p>Run Access option to allow private models being executed in shareable links.</p></figcaption></figure>

This option is **only available when a private Model is detected in the workflow steps**.

This configuration side effects are:

{% hint style="warning" %}
Any previews run under the shareable link will affect your Wokflow usage.
{% endhint %}

{% hint style="success" %}
Your private Models data and your API Key will always remain private.
{% endhint %}

#### Allow people to run a Workflow under your hidden credentials

This is useful when you want to share a workflow that has any step with credentials (LMM, OpenAI, Anthropic, etc.) and let people securely use your own credentials to make it easier for them to try your Workflow - your credentials won't be exposed and will be redacted on any client-facing data.

To do so, go to the **Credentials** section and change it to allow users to execute the Workflow with your hidden credentials.

<figure><img src="https://662926385-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M6S9nPJhEX9FYH6clfW%2Fuploads%2FO75ah4uFVaraUMqA8Avx%2Fimage.png?alt=media&#x26;token=51f7176a-7b32-432a-8d1f-2a572d03878c" alt=""><figcaption><p>Credentials configuration dropdwn options.</p></figcaption></figure>

<figure><img src="https://662926385-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M6S9nPJhEX9FYH6clfW%2Fuploads%2FJVDBNBozdELPIf0C0tLj%2Fimage.png?alt=media&#x26;token=f7c30b80-8152-47c0-b832-cd8426c08114" alt=""><figcaption><p>Credentials option to allow people running a Workflow under your pre-configured credentials.</p></figcaption></figure>

This option is **only available when a step that needs credentials is detected in the workflow.**&#x20;

This configuration side effects are:

{% hint style="warning" %}
Any previews run under the shareable link will affect your specific credential usage limits (e.g. OpenAI Api Keys).
{% endhint %}

{% hint style="success" %}
Your credentials values will always be private and are redacted from any client-facing data.
{% endhint %}

Here's an example of a Workflow that runs under a hidden OpenAI API Key to run a License Plate detection + OCR. Give it a try!

{% embed url="https://app.roboflow.com/workflows/embed/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ3b3JrZmxvd0lkIjoiR2N3MFdxQnVQWXdJY0tqdDY3MkoiLCJ3b3Jrc3BhY2VJZCI6IjFsY25TMDdFSVJTb08xUHo5RkFmIiwidXNlcklkIjoiRVJNUFBZY3FQMmZWWjB1NkRpNXZaYXJDdlZPMiIsImlhdCI6MTcyODU2NDI0NH0.vvKMTOE_H6xWFaJe8YLYjuNcA-x9X2IxvtdL_6Kzd2g" %}

