# Remove.bg

### Connect Remove.bg with MESA <a href="#connect" id="connect"></a>

When you're setting up your first workflow with Remove.bg, you will need to create a connection through MESA's Remove.bg App or your own custom Google App. Click on the **Connect with Remove.bg** button to finish the process.

<figure><img src="/files/YHRUCIJUtdyj7RtkoHCW" alt="Screenshot of MESA Remove.bg step connection setup. Spotlight the Connect with Remove.bg button."><figcaption></figcaption></figure>

On the next screen, login into your Kaleido Account or create your own account.

{% hint style="info" %}
Remove.bg currently has issues with sending a confirmation email when you sign up with a Google account. If you'd like to sign up via Google, please create an account outside of MESA first: <https://accounts.kaleido.ai/users/sign_up>. Once you are logged into your Remove.bg account, please go back to your MESA workflow and refresh the page. Then, restart the connecting process by clicking on the **Connect with Remove.bg** button.
{% endhint %}

Afterwards, click on the **Authorize app** button from the Permissions page.

<figure><img src="/files/dGHY2wgIza4ipnvjocZx" alt="Screenshot of the Remove.bg Permissions page during the MESA connection. Spotlight the Authorize app button."><figcaption></figcaption></figure>

You will be brought back to your current workflow and you are all set! MESA is now connected with your Remove.bg account.

***

### Configuration <a href="#configuring" id="configuring"></a>

#### Sending an image URL to Remove.bg <a href="#image-url" id="image-url"></a>

If you have an image URL, you can input the image URL into the **Image URL** field.

<figure><img src="/files/HQZH9n7DN4Q4wIbcnbyp" alt="Screenshot of MESA Remove.bg Remove Background Image step configuration. Spotlight the Image URL field."><figcaption></figcaption></figure>

You can also use [MESA's variables](/workflow-builder/fields/variables.md) in the **Image URL** field. For example, if you currently use [Uploadery by ShopPad](https://apps.shopify.com/uploadery), you can create a workflow that removes all background images from every Uploadery file included in a Shopify customer's order: [Uploadery Order Created Trigger](/connect/uploadery.md#create) -> [Loop](/tools/loop.md) -> Remove.bg **Remove Background Image** step.

<figure><img src="/files/hXJW0z14Jtxt9j2x4TMs" alt="Screenshot of MESA workflow builder, example Uploadery Order Created trigger to Loop to Remove.bg workflow. Spotlight the Uploadery Order Created trigger step."><figcaption></figcaption></figure>

<figure><img src="/files/sEz4l1tSEgV1a1cteBJb" alt="Screenshot of MESA workflow builder, example Uploadery to Remove.bg workflow. Spotlight the Loop step that iterates over the Uploadery files."><figcaption></figcaption></figure>

<figure><img src="/files/wtoaaZEobQ1SL0dDEN7C" alt="Screenshot of MESA workflow builder, example Uploadery to Remove.bg workflow. Spotlight the Remove.bg Remove Background Image step using the Uploadery file variable in the Image URL field."><figcaption></figcaption></figure>

#### Using Remove.bg's edited image <a href="#variable" id="variable"></a>

You can use [MESA's Variables feature](/workflow-builder/fields/variables.md) to use Remove.bg's edited image in a later step in your workflow. The **Result URL** variable will contain the image with no background.

<figure><img src="/files/d3FqXxZo9dFrcURFMCZo" alt="Screenshot of MESA workflow builder, step after Remove.bg using the variables menu. Spotlight the Remove.bg Result URL variable."><figcaption></figcaption></figure>

<figure><img src="/files/wLSJj0V9edTrWQ3hMfkx" alt="Screenshot of MESA workflow builder, later step with the Remove.bg Result URL variable inserted into a field. Spotlight the field containing the Result URL variable."><figcaption></figcaption></figure>
