> For the complete documentation index, see [llms.txt](https://docs.getmesa.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.getmesa.com/connect/remove.bg.md).

# 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="https://3425906282-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1H6u1HQc3Iew7ATmmiCi%2Fuploads%2Fgit-blob-baaaa8fed04d45ccd3a1cb0ce517e7877f5a44cb%2FEF-remove-bg.png%20-%20Step%202.png?alt=media" 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="https://3425906282-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1H6u1HQc3Iew7ATmmiCi%2Fuploads%2Fgit-blob-f5db54f9811fda74a833e2a693c65ac258cb0f9a%2FEF-authorize-remove-bg.png%20-%20Step%202.png?alt=media" 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="https://3425906282-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1H6u1HQc3Iew7ATmmiCi%2Fuploads%2Fgit-blob-3539e876beedcdc9ff47a5ef7ac82791eac003c5%2FEF-remove-bg-image-URL.png%20-%20Step%202.png?alt=media" 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="https://3425906282-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1H6u1HQc3Iew7ATmmiCi%2Fuploads%2Fgit-blob-6920c0035779ea4f3c156aa4f56f979649e31dee%2FEF-example-uploadery-remove-bg.png%20-%20Step%202.png?alt=media" 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="https://3425906282-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1H6u1HQc3Iew7ATmmiCi%2Fuploads%2Fgit-blob-254d2d3d0c3db349352e15f25f1484fdd7030780%2FEF-example-uploadery-remove-bg.png%20-%20Step%203.png?alt=media" 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="https://3425906282-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1H6u1HQc3Iew7ATmmiCi%2Fuploads%2Fgit-blob-28ab6e68bb2483808e220440aa78d98ea4096c74%2FEF-example-uploadery-remove-bg.png%20-%20Step%205.png?alt=media" 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="https://3425906282-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1H6u1HQc3Iew7ATmmiCi%2Fuploads%2Fgit-blob-41f5007b4e64e3ac81504028b48564e7714e498b%2FEF-remove-bg-result-url.png%20-%20Step%202%20(1).png?alt=media" 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="https://3425906282-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1H6u1HQc3Iew7ATmmiCi%2Fuploads%2Fgit-blob-8ac4bc21f7c95e0501fc430dcf82e9024b6d5c1f%2FEF-remove-bg-result-url.png%20-%20Step%203.png?alt=media" 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>
