Your cloud or ours
StayFn is one container image and a PostgreSQL 16 database. We can run it for you in the EU or the US, or you can run it yourself.
| StayFn Cloud | Cloud Dedicated | Self-hosted | |
|---|---|---|---|
| Who runs it | StayFn | StayFn | Your team |
| Where | EU or US | EU or US, dedicated | Your cloud or data centre |
| Your functions | In your own instance | In your own instance | In your own host |
| Database | Managed PostgreSQL | Dedicated managed PostgreSQL | Your PostgreSQL 16 |
| Upgrades and backups | Included | Included | You apply releases |
| Admin sign-in | Admin access issued by StayFn | Your OIDC identity provider | Your OIDC identity provider |
See plans for what each option includes.
Small footprint, standard tools
- One machine: Docker Compose with the host and PostgreSQL
- Kubernetes: sample manifests with a migration job, probes and resource limits
- A non-root container on a read-only file system, listening on one port
- Two database roles, neither able to bypass row-level security
- Configuration from environment variables, checked at start: the host refuses unsafe values
- Health endpoints, Prometheus metrics and OpenTelemetry for your monitoring
# single machine
cp prod.env.example prod.env # fill in the secrets
docker compose -f docker-compose.prod.yml \
--env-file prod.env up -d
curl -fsS http://127.0.0.1:8080/health/ready
{"status":"Healthy", "checks":{ … }}From OHIP credentials to live functions
- 1
Register with OHIP
In the OHIP Developer Portal, register an application for your chain and get its app key, OAuth client and gateway URL.
- 2
Connect your environment
Add the OHIP environment and your hotels to StayFn. Credentials are stored as references to your vault, never as values.
- 3
Write your first function
Your developers create a project, write and test functions locally against the OHIP sandbox, with Claude Code or VS Code.
- 4
Go live
Deploy the functions to your instance, issue API keys to your apps and, if you use events, switch on streaming for your app key.
Not sure which option fits?
Tell us about your group, your policies and your integrations, and we will recommend a setup.