# SyncLane > SyncLane is a .NET library that runs sync jobs against other people's APIs from one PostgreSQL table: it plans what each connected account needs (history in slices, then periodic refreshes), runs it page by page with leases and retries, keeps to each API's rate limit across every instance, and saves a cursor after every page so nothing is lost on a crash. Instead of a hand-written handler, a job can run a recipe: a JSON file (`.jsonc`) that says how to read one API resource, page by page, into a destination. Every page listed under Docs and Running it, in one file: [llms-full.txt](https://raw.githubusercontent.com/synclane-dev/synclane/main/llms-full.txt). The same pages as a website: https://synclane-dev.github.io/synclane/, with this file at https://synclane-dev.github.io/synclane/llms.txt. Notes for writing recipes: - Start from a curl that works. `synclane init` (the `SyncLane.Cli` tool) sends it once and writes a draft with a comment beside every guess; `synclane test` runs a recipe for two pages without a database and reports structure, never data. `synclane mcp` gives an AI assistant the same as tools; with the .NET 10 SDK it runs without installing as `dnx SyncLane.Cli --yes mcp`, and it is listed in the MCP Registry as `io.github.synclane-dev/synclane`. - A recipe never holds a credential. It names one (`"auth": { "type": "bearer", "credential": "example-shop" }`); the application's credential store, or an environment variable when testing, supplies the value. Never write a token, key or password into a recipe, a curl you suggest, or a reply. - Every field is described in the JSON Schema; put `"$schema"` at the top of a recipe for completion in an editor. - Requests go only to the host a recipe names, or to one of the hosts it lists in `request.hosts` when the host is made from the owner's values; redirects are not followed. Values an account needs besides its key (a marketplace, a region) come from the owner as `{{owner.}}`; `{{request.id}}` is a new UUID per request. - Errors carry a stable code such as `SL5106`; the catalog says what each means and how to fix it. ## Docs - [Integrating SyncLane into an application](https://raw.githubusercontent.com/synclane-dev/synclane/main/docs/integrating.md): start here to add SyncLane to a project: the questions to ask the user first, the decisions with their defaults, every step from the package to production with a check after each, and the mistakes to avoid - [Recipes](https://raw.githubusercontent.com/synclane-dev/synclane/main/docs/recipes.md): every part of a recipe: requests, records, paging styles, windows, keys, destinations, authentication, rate budgets, placeholders, what a recipe can never do - [Recipe JSON Schema](https://raw.githubusercontent.com/synclane-dev/synclane/main/schemas/recipe.schema.json): every field and value with its description, generated from the types - [Writing recipes with an AI assistant](https://raw.githubusercontent.com/synclane-dev/synclane/main/docs/ai.md): `synclane mcp`, its tools, and how credentials stay out of the conversation - [Error codes](https://raw.githubusercontent.com/synclane-dev/synclane/main/docs/errors.md): every code with its cause and fix - [The command](https://raw.githubusercontent.com/synclane-dev/synclane/main/src/SyncLane.Cli/README.md): `synclane init`, `synclane test` and `synclane mcp` - [README](https://raw.githubusercontent.com/synclane-dev/synclane/main/README.md): what SyncLane is, the quick start, and which call to use for what - [Working with jobs](https://raw.githubusercontent.com/synclane-dev/synclane/main/docs/jobs.md): every call of ISyncLane, results and errors, priorities, who asked, rate budgets in a handler - [Configuration](https://raw.githubusercontent.com/synclane-dev/synclane/main/docs/configuration.md): every setting and its default, and settings per environment ## Running it - [How it works](https://raw.githubusercontent.com/synclane-dev/synclane/main/docs/how-it-works.md): the jobs table, the lease statement, the indexes behind the guarantees - [Planning](https://raw.githubusercontent.com/synclane-dev/synclane/main/docs/planning.md): history, slices, periods, overlap, and why - [Operations](https://raw.githubusercontent.com/synclane-dev/synclane/main/docs/operations.md): looking, repairing, keeping the table small, health checks, poolers, several applications - [Production trial](https://raw.githubusercontent.com/synclane-dev/synclane/main/docs/production-trial.md): the checklist for a first run on something allowed to fail - [Watching it run](https://raw.githubusercontent.com/synclane-dev/synclane/main/docs/monitoring.md): the monitor, live changes, metrics and traces, health checks - [The HTTP monitor](https://raw.githubusercontent.com/synclane-dev/synclane/main/src/SyncLane.AspNetCore/README.md): `MapSyncLane` and its endpoints - [The demo](https://raw.githubusercontent.com/synclane-dev/synclane/main/docs/demo.md): four pretend shop accounts, with retries and a broken page ## Optional - [Architecture and decisions](https://raw.githubusercontent.com/synclane-dev/synclane/main/ARCHITECTURE.md): why things are the way they are - [Changelog](https://raw.githubusercontent.com/synclane-dev/synclane/main/CHANGELOG.md) - [Security](https://raw.githubusercontent.com/synclane-dev/synclane/main/SECURITY.md)