Skip to main content

Introduction to SitePack Apps

SitePack Apps Icon

SitePack is evolving from a closed-source system to an open ecosystem. We are introducing a modular architecture where third-party developers can extend the platform using Apps and Themes.

While Themes handle frontend rendering using Twig, Apps are responsible for backend logic, administrative extensions, and external integrations.

What is a SitePack App?

A SitePack App is an external service that extends the admin panel or backend functionality of a SitePack website or webshop.

Unlike traditional plugins in some other ecosystems, SitePack Apps are SaaS-ready. This means they do not run on SitePack servers; instead, developers host their own app code and database. This architecture provides you with full control over your technology stack and ensures that your app remains scalable and secure.

What Can You Build?

The possibilities with SitePack Apps are extensive. Here are some examples of what you can achieve:

  • Backend Integrations: Seamlessly sync SitePack data with ERPs, accounting software, or CRM systems such as Salesforce or Exact.
  • Admin UI Extensions: Enhance the user experience by adding custom widgets to the order detail sidebar or introducing entirely new navigation menus.
  • Automation: React to real-time events within SitePack using Webhooks, such as triggering an action when an order.created event occurs.
  • Theme Extensions: Provide dynamic data snippets known as App Blocks that Twig-based themes can render directly.

How Do Apps Communicate with SitePack?

Communication between your app and SitePack is handled through several standardized methods:

  • REST API: Use our comprehensive REST API (communicating via JSON) to read from or write data to a SitePack instance.
  • Webhooks: Subscribe to asynchronous events to stay informed about changes within the store without constant polling.
  • Admin Widgets: Embed your own interface directly into the SitePack admin panel using secure, iframe-based embedding.

The app.json Manifest

The app.json manifest is the cornerstone of your SitePack App. It is a configuration file that defines your app's identity, required permissions (scopes), webhooks, and UI extensions. SitePack reads this file during the installation process to understand how to interact with your service.

info

Every app must have a valid app.json file hosted at its root for SitePack to recognize and install it.

Next Steps

Ready to start building? Dive into the technical details: