{"revision":"c10276e953456835cdbb1f3a60d58ae1980be353","document":{"id":40878,"path":"platform-security/connections-and-credentials/configure-ps-connection.md","title":"Create a basic connection for PowerShell and SSH","bundle":null,"doc_type":null,"release":"australia","body":"\n# Create a basic connection for PowerShell and SSH\n\nConfigure connection information to use with a custom activity or action that uses the PowerShell or Secure Shell \\(SSH\\) protocol.\n\n## Before you begin\n\nRole required: admin or connection\\_admin\n\n## Procedure\n\n1.  Navigate to **All** &gt; **Credentials &amp; Connections** &gt; **Connections**.\n\n2.  Click **New**.\n\n3.  Select **Basic Connection for PowerShell &amp; SSH**.\n\n4.  Complete the form.\n\n<table id=\"table_wdx_hph_gdb\"><thead><tr><th>\n\nField\n\n</th><th>\n\nDescription\n\n</th></tr></thead><tbody><tr><td>\n\nName\n\n</td><td>\n\nUnique name of the connection record.\n\n</td></tr><tr><td>\n\nCredential\n\n</td><td>\n\nSelect the credential record used to authorize the connection.\n\n</td></tr><tr><td>\n\nConnection alias\n\n</td><td>\n\nSelect the alias record to associate with this connection. Using an alias enables you to update the connection record without having to reconfigure any actions or activities that use the alias.\n\n</td></tr><tr><td>\n\nHost\n\n</td><td>\n\nFully qualified domain name of the target host where the system runs the activity or action. For example, host.domain.com.\n\n</td></tr><tr><td>\n\nActive\n\n</td><td>\n\nSelect to make this connection active.\n\n</td></tr><tr><td>\n\nDomain\n\n</td><td>\n\nDetermines the domain the activity runs in. Flow Designer does not support domain separation and ignores this field.\n\n</td></tr><tr><td>\n\nOverride default port\n\n</td><td>\n\nTarget port used by the connection. If you leave this field blank, the system uses the default port value.\n\n</td></tr><tr><td>\n\nUse MID Server\n\n</td><td>\n\nSelect to connect to the target host through a MID Server. If selected, define fields in the Advanced MID Server Configuration section. **Note:** PowerShell requires a MID Server.\n\n</td></tr><tr><td>\n\nMID Selection\n\n</td><td>\n\nOption to select a specific MID Server or MID Cluster. Choose any one of the following options. -   **Auto-Select MID Server**: Your ServiceNow instance selects the MID Server without manual input.\n-   **Specific MID Server**: Your ServiceNow instance uses MID Server that you specify.\n-   **Specific MID Cluster**: Your ServiceNow instance uses the MID Cluster that you specify.\n\nA MID Cluster is a group of MID Servers that enables your ServiceNow instance to handle multiple integrations, and improve integration speed. For more information, see [Configure a MID Server cluster](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/servicenow-platform/t_ConfigureAMIDServerCluster.md).\n\n This field is available when **Use MID Server** is checked. **Note:** Ensure that the Integration Hub connection record is referred, not an Orchestration connection record.\n\n</td></tr><tr><td>\n\nCapabilities\n\n</td><td>\n\nThe capabilities the MID Server must support to be eligible for selection. The system runs the action or activity from a MID Server that supports the selected capabilities. Only displays if **Use MID server** is selected.\n\n Required capabilities determine which MID Server is selected at runtime. To learn more about how a MID Server is selected during runtime, see [MID Server selection](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/servicenow-platform/c_MIDServerSelector.md). This field is visible only when **Auto-Select MID Server** is selected from the MID Selection list.\n\n</td></tr><tr><td>\n\nMID Application\n\n</td><td>\n\nThe application the MID Server must support to be eligible for selection. The system runs the action from a MID Server that supports the selected application. Only displays if **Use MID server** is selected.\n\n To learn more about how a MID Server is selected during runtime, see [MID Server selection](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/servicenow-platform/c_MIDServerSelector.md).\n\n</td></tr><tr><td>\n\nMID Server\n\n</td><td>\n\nSpecific MID Server on which the step runs. This field is visible only when **Specific MID Server** is selected from the MID Selection list.\n\n</td></tr><tr><td>\n\nMID Cluster\n\n</td><td>\n\nThe specific MID Cluster you want to use. This field is available when **Use MID Server** is checked, and **Specific MID Cluster** is selected from the MID Selection list.\n\n</td></tr></tbody>\n</table>5.  Click **Submit**.\n\n\n**Parent Topic:**[Get started with connections](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/platform-security/connections-and-credentials/connection-information.md)\n\n"}}