---
title: "How to connect your self-hosted Bagisto to Unified"
img: https://s3.us-east-2.amazonaws.com/unified-article-images/how_to_connect_your_self_hosted_bagisto_to_unified-icon.png
date: 2026-11-23T00:00:00.000Z
updated: "2026-11-23T21:10:55.851Z"
tag: Guides
integrations: 
description: "Bagisto can run on your own servers or private cloud. Unified connects to it directly over HTTPS for commerce, accounting, CRM data. You don't install anything..."
url: "https://docs.unified.to/guides/how_to_connect_your_self_hosted_bagisto_to_unified"
---

# How to connect your self-hosted Bagisto to Unified
------
_November 23, 2026_

Bagisto can run on your own servers or private cloud. Unified connects to it directly over HTTPS for commerce, accounting, CRM data. You don't install anything on your side.


## Before you start

- **Bagisto must be reachable from the internet over HTTPS.** On a private network, publish its API through a reverse proxy with a publicly trusted certificate. Include the port if it isn't 443.
- **Firewall allowlist:** allow Unified's outbound IP for your region (also shown under **API Keys → Outbound IP addresses**): US `44.199.69.244`, EU `3.65.142.239`, AU `13.239.151.208`.
- **Use a dedicated Bagisto user or token** with access only to the data you want to share.

## What you'll enter in Unified

- **Integration Token**: An Admin API Integration token. In the Bagisto admin, turn on **Configuration → API → Integration → Module Settings → Enabled**, then go to **Settings → Integration**, create an integration for an admin whose role can read the catalog, customers, sales and settings, and click **Generate**. Copy the whole token (it looks like `12|abc…`); it is shown only once.
- **Bagisto Store Host**: The host of your Bagisto store, e.g. [shop.example.com](https://shop.example.com/) (no https:// and no path). The store must have the bagisto/bagisto-api package installed.

## Steps

1. In Bagisto, create the credentials listed above.
2. Confirm the address is reachable over HTTPS from outside your network.
3. In Unified, create a new Bagisto connection (or open your Authorization link) and enter the values.
4. Save. Unified tests the connection straight away.

## Troubleshooting

- **Timeout or connection refused:** the server isn't reachable, or the firewall blocks Unified's IP.
- **Certificate error:** use a publicly trusted certificate, not a self-signed one.
- **401 or 403:** check the credentials and the user's permissions.

See also: _Connecting Unified to your on-prem and self-hosted systems_.