{"revision":"c10276e953456835cdbb1f3a60d58ae1980be353","document":{"id":40809,"path":"platform-security/client-access-example-6.md","title":"Configure Flow Designer to manage the integration","bundle":null,"doc_type":null,"release":"australia","body":"\n# Configure Flow Designer to manage the integration\n\nOn your instance, use Workflow Studio to manage an integration between your local network and your instance.\n\n## Before you begin\n\nRole required: admin, KMF\\_admin, sn\\_secrets.secret\\_manager, and sn\\_kmf.cryptographic\\_manager\n\nIn these steps, you create a Workflow Studio workflow to create a text file on your local system.\n\n## Procedure\n\n1.  On your instance, navigate to **All** &gt; **Process Automation** &gt; **Flow Designer**.\n\n2.  Create an action in ServiceNow by selecting **New** and selecting **Action**.\n\n    \\[Omitted image \"client-side-8.png\"\\] Alt text: Creating a new action in flow designer\n\n3.  Enter a name in the **Action name** field, and select **Submit**.\n\n4.  Create a step by selecting the plus sign between **Inputs** and **Error Evaluation** in the **Action Outline**.\n\n    \\[Omitted image \"client-side-9.png\"\\] Alt text: Creating a new action step\n\n5.  In the **Choose a step to add to your action** window, select **Look Up Record**.\n\n    \\[Omitted image \"client-side-10.png\"\\] Alt text: Selecting an action step\n\n6.  In the **Look Up Record step** section, select **MID Server \\[ecc\\_agent\\]** in the **Table** field.\n\n7.  Create another step by selecting the plus sign under your **Look Up Record step**.\n\n8.  In the **Choose a step to add to your action** window, select **SSH**.\n\n    **Note:** If you don't see the **SSH** option, you must activate the required plugin.\n\n9.  In the **SSH Step** section, enter the following information:\n\n    |Field|Value|\n    |-----|-----|\n    |Connection|Select **Define Connection Inline**|\n    |Credential Alias|Select the credential alias for the SSH credential that was created in earlier steps.|\n    |Host|Enter the IP address for the host that you're connecting to via SSH.|\n    |Port|Enter `22.`|\n    |MID Selection|Select **Specific MID Server**.|\n\n10. To fill the **MID Server** field, drag the **MID Server Record** pill from the **Data** section into the field.\n\n    \\[Omitted image \"client-side-12.png\"\\] Alt text: Dragging MID server data pill\n\n    **Warning:** When dragging the pill into the field, select the pill and not the black arrow next to the pill.\n\n11. In the **SSH Configuration** section, enter the following value into the **Command** field.\n\n    ```\n    /bin/date > sm_ig_text_file.txt\n    ```\n\n    This command creates a text file in your local system using the decrypted secrets from the MID Server. The MID Server grants access to the ServiceNow instance \\(through Workflow Studio\\) without ever giving the ServiceNow instance access to the decrypted secret.\n\n    **Tip:** The `/bin/date` command is inserting the current date/time into the created text file. This command demonstrates that the integration is happening in real time based on the current date/time versus when the text file was created.\n\n12. Select the **Save** button to save the workflow.\n\n\n**Parent Topic:**[Configuring client accessible secrets](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/platform-security/client-access-secret-landing.md)\n\n"}}