Getting started
SQL Flow installs on the Windows machine that runs SQL Accounting and serves a REST API from there. This guide takes about half an hour: download, install, activate, create a token, make a call.
Before you start
- Windows 10, Windows 11, or Windows Server 2016 or later, with 2 GB of memory free. There are setups for 64-bit (Intel or AMD) and ARM Windows; the download page explains which one you need. 32-bit Windows is no longer supported: version 1.0.9 was the last one built for it.
- SQL Accounting installed on that machine, with your company, and logged in at least once as the Windows user who will run SQL Flow. That user stays logged in: SQL Accounting must run in a visible session (auto-logon, or a disconnected Remote Desktop session; close the window, never sign out).
- An administrator account for that user. Setup asks for elevation once and registers a logon task for the user who runs it.
- An activation code. Register and start the free trial, or buy a plan; the code is on your account page. A code is used once, within 14 days.
1. Download and run the setup
Download the setup for your processor from the download page. Check the SHA-256 if you like (Get-FileHash .\SQLFlow-Setup-<version>-x64.exe in PowerShell). Double-click it and accept the administrator prompt.
The wizard walks through nine pages:
- Welcome: what is installed and where.
- Requirements: one row per check, each green, amber or red with a one-line fix: administrator rights, Windows version, processor, memory, SQL Accounting installed, no hidden copy of SQL Accounting running, the WebView2 runtime (amber only), free disk, the API port free, the licence server reachable. Fix any red row and press Check again.
- Licence: paste your activation code. Check the server confirms the licence server answers. You can leave the code empty and activate later from the console.
- Company: the setup finds
Default.DCFand lists your companies by name; pick one, give it a short code (your apps send it asX-Company), and enter the SQL Accounting user and password. Or skip and add it later. - Admin password for the console (at least 8 characters).
- Port: 5080 unless something else uses it; the wizard proposes the next free one.
- Cloudflare (optional): paste a tunnel token if you want the API reachable from outside your network over HTTPS. See Security.
- Summary, then Install: the steps run with their progress.
- Finish: what was done, anything that needs attention, and Open SQL Flow now.
The setup installs SQL Flow under C:\Program Files\SQL Flow, keeps its data in C:\ProgramData\SqlBridge, and adds a tray icon that starts at logon. (The data folder keeps the product's original internal name, SqlBridge, so automatic updates always find it.)
2. Check the status
Click the tray icon. The console opens on Status: the API is up, SQL Accounting is connected (allow up to a minute after a login), the licence is valid, and the open company is yours. If SQL Accounting shows as not connected, open Companies and press Test login; the message tells you what is wrong, usually the user name or password.
3. Create a token
Open Tokens and create one. Give it a name you will recognise in the logs, choose Read or Read and write, and, if you want, limit it to certain companies, API paths or IP addresses. The token is shown once: copy it into your application's configuration. You can create as many tokens as you have systems, and revoke any of them at any time.
4. Make a call
From another machine on your network, replace sql-pc with the machine's name or IP:
curl http://sql-pc:5080/v2/api/customer?limit=5 \
-H "Authorization: Bearer <your token>" \
-H "X-Company: <your company code>"
You get a JSON object with data (the rows) and paging. The API explorer in the console does the same from the browser, with every resource listed and a version switch between the v1 and v2 formats.
5. Next steps
- The API overview explains tokens, companies, paging, PDF output, writes and errors.
- Webhooks tell your system when data changes.
- Security covers publishing the API outside your network.
- Something not right? See Troubleshooting.
Last updated 3 Nov 2026