---
title: "Plugins (Preview)"
canonical_url: https://developer.repebble.com/guides/plugins/
last_updated: 2026-10-11
sdk_version: 4.33.1
---
# Plugins (Preview)

Source: https://developer.repebble.com/guides/plugins/

A plugin is JavaScript in a `.pbw` that runs on the phone, inside the Pebble mobile app, and offers two things to other apps: _sources_, data that any watchface or watchapp can read, and _actions_, operations such as turning a light off or adding a task that any watchapp can trigger. A watchface that shows the weather no longer needs its own weather API and key; it subscribes to `weather/location` and whichever weather plugin the user has installed answers. The Pebble mobile app exposes some of its own data as built-in plugins, and the [Index 01](https://developer.repebble.com/index-01.md) assistant will call plugin actions as tools.

**Important**  

Plugins are a preview. The API will change before plugins are released to all users, and the Pebble mobile app ships with them turned off. Do not publish apps that use or provide plugins to the appstore yet.

The documentation is maintained alongside the implementation and the example plugins in the [Pebble mobile app repository](https://github.com/coredevices/mobileapp/tree/master/test-apps), and is reproduced here.

## Contents

- [**Pebble Plugins Preview**](https://developer.repebble.com/guides/plugins/preview.md) - What plugins are, how to try the preview in the Pebble mobile app, how a watchapp reads plugin data from PebbleKit JS, and how to write a plugin.
