# Server-SDK Integration

<figure><img src="https://2719145347-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoLK0D9EqGvJS5PYMYdZC%2Fuploads%2F0Y85u56HsVAmYBCkbEAy%2F01008.png?alt=media&#x26;token=fcb7cdad-58bd-4773-88a3-08b9ea9f3575" alt=""><figcaption></figcaption></figure>

For applications where continuous webhook and contract event monitoring is required, a dedicated stable server setup provides uninterrupted connection.&#x20;

A full code example of this set up, using an Node.js backend (hosted on [render.com](https://render.com/)), is available [here](https://github.com/DIGITALAX/ListenerNoCode) (frontend) and [here](https://github.com/DIGITALAX/nocode_listener_server) (backend server), with the architecture running live at [listener.irrevocable.dev](https://listener.irrevocable.dev).

The SDK also includes dedicated long-running functions that support the minting of PKPs directly from the server.&#x20;

Further, the Listener Contract Factory can be deployed on Polygon as a persistant on-chain database for storing all logs generated by the running circuits on the server. These logs are stored with IPFS and can be accessed via a dedicated subgraph, making data retrieval efficient and streamlined for frontend queries. With this architecture, all logs are batched and signed to the Listener Database contract through an assigned PKP.

**See** [**here**](https://docs.irrevocable.dev/database-and-server-interactions/persistant-circuit-architecture) **for a step by step walkthrough for getting started with a long range setup.**&#x20;
