# SDK configurations

With SDK v3, Purchasely moves from a monolith to a modular system composed of 3 modules:

* Transaction processor: Cross-platform management of subscriptions and one-time purchases
* Subscriber Data Hub: Real-time subscription lifecycle events used to fuel our dashboards and integrations like [Firebase analytics](https://firebase.google.com/docs/analytics), [Amplitude](https://amplitude.com), [Airship](https://www.airship.com/fr?), [Braze](https://www.braze.com), [Batch](https://batch.com), [Segment](https://segment.com), …
* User Journey Optimizer: Our Paywall CMS to create and optimize native subscription screens

That way Purchasely can be used in many ways to:

* Perform purchases
* Analyse purchases that were made with your own IAP system (aka *observer mode*)
* Display paywalls
* Use everything offered by Purchasely without changing your own transactional system

And of course everything listed above.

To reflect these compositions, you have to select a `runningMode` when you initialize Purchasely:

* `transactionOnly`
* `observer`
* `paywallObserver`
* `full`

### Running modes comparison

{% tabs %}
{% tab title="paywallObserver" %}
![](/files/QpaZOrCqSM8ALtW0uYOL)
{% endtab %}

{% tab title="Full" %}
![](/files/xtRTU3MiH1WYSeyJAXjp)
{% endtab %}
{% endtabs %}

### Running modes

<table><thead><tr><th width="213.63814712584755"></th><th width="298.93536682393926">Description</th><th>Modules</th></tr></thead><tbody><tr><td><code>paywallObserver</code></td><td><p>Same as <code>paywallOnly</code> but Purchasely also observes transactions made by your system to fuel its dashboards and Webhook.</p><p></p><p><a href="/pages/kWYp5Um5Mgh8yrLsn7kW">Details</a>.</p></td><td><p>Paywall Builder</p><p>Subscriber Data Hub</p></td></tr><tr><td><code>full</code> <em>(default)</em></td><td><p>Purchasely handles everything from paywall to transactions including data and Webhooks.</p><p></p><p><a href="/pages/uIMlgSyN4dPJRQkxdMsc">Details</a>.</p></td><td>Transaction Processor<br>Subscriber Data Hub<br>Paywall Builder</td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://purchasely.gitbook.io/purchasely/3.4/quick-start-1/sdk-configuration.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
