# Setup

> Before you begin using the Upwire activities, review and complete the following setup steps. These steps ensure that your Upwire account and UiPath activities can work seamlessly together.

## Introduction

Before you begin using the Upwire activities, review and complete the following setup steps. These steps ensure that your Upwire account and UiPath activities can work seamlessly together.

## Steps

### Create an Upwire account

The [Upwire Scope](https://docs.uipath.com/marketplace/automation-cloud/latest/user-guide/upwire-scope#upwire-scope) requires an active Upwire account. To create your Upwire account, go to the Upwire [Signup](https://webui.upwire.com/signup) page and complete the required steps.

### Get your account passtoken

Your account `passtoken` is different from the password you created during registration.

You'll use the `passtoken` value for the **Passtoken** property in the [Upwire Scope](https://docs.uipath.com/marketplace/automation-cloud/latest/user-guide/upwire-scope#upwire-scope) activity.

1. Create a new or open an existing flow template.
   * You can follow the [Quickstart](https://docs.uipath.com/marketplace/automation-cloud/latest/user-guide/upwire-quickstart#quickstart) guide steps to create a sample, Send SMS flow template.
   * To learn more about creating flow templates, see Upwire's YouTube [step-by-step tutorials](https://www.youtube.com/playlist?list=PLuDnYQPmqe9mwTn_kRWqPc3ulBjAxGjba).
2. From the flow template menu, select **Show Jobs API** (this opens **Master Job Api Wizard**).
3. Click the **Append to Existing Job** tab and then click the **Show API** button (the JSON window opens).
4. Copy the `passtoken` value.
   * Recommendation: create a `String` variable for the [Upwire Scope](https://docs.uipath.com/marketplace/automation-cloud/latest/user-guide/upwire-scope#upwire-scope) **Passtoken** property and use the `passtoken` as your default value.

     ![docs image](https://dev-assets.cms.uipath.com/assets/images/marketplace/marketplace-docs-image-34755-961d6d6a-c170671d.webp)

### Purchase an Upwire number

To send SMS messages using Upwire, you must purchase an Upwire number. For more information, see the [Upwire](https://upwire.com/sms/) website.

After you purchase a number, you'll use it in the **From** property of the [Send SMS](https://docs.uipath.com/marketplace/automation-cloud/latest/user-guide/upwire-send-sms#send-sms) activity.

### Schedule your flow template to wait for API call

To use the [Start Job](https://docs.uipath.com/marketplace/automation-cloud/latest/user-guide/upwire-start-job#start-job) and [Stop Job](https://docs.uipath.com/marketplace/automation-cloud/latest/user-guide/upwire-stop-job#stop-job) activities, the flow template must be configured so that it can receive API calls.

To set your flow template:

1. Open the flow template that you want to start or stop via the [Start Job](https://docs.uipath.com/marketplace/automation-cloud/latest/user-guide/upwire-start-job#start-job) or [Stop Job](https://docs.uipath.com/marketplace/automation-cloud/latest/user-guide/upwire-stop-job#stop-job) activities.
2. Run the pre-launch check.
3. Click the **Schedule for Later** option.
4. Click the **Wait for API Call** icon.
5. Click the rocket icon (you don't need to schedule a time).
6. Verify the template says **Waiting API**.

   ![docs image](https://dev-assets.cms.uipath.com/assets/images/marketplace/marketplace-docs-image-36240-b7fc9bbe-d2490fa3.webp)
