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

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

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


## Before you start

- **ERPNext 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 ERPNext user or token** with access only to the data you want to share.

## What you'll enter in Unified

- **ERPNext site**: Your ERPNext site hostname without "https://" or a trailing path — for example "[erp.mycompany.com](https://erp.mycompany.com/)". The Frappe REST API is served from https://{site}/api.
- **API Key**: In ERPNext, open the User record used for API access, expand API Access, and copy the API Key.
- **API Secret**: Generate API keys from the same User screen (API Access → Generate Keys). Copy the API Secret when shown; it is only displayed once.

## Steps

1. In ERPNext, create the credentials listed above.
2. Confirm the address is reachable over HTTPS from outside your network.
3. In Unified, create a new ERPNext 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_.