---
title: Documentation
description: Write scripts, build widgets, and automate iOS with Scriptable.
---

Scriptable lets you automate iOS using JavaScript. Start with [your first widget](https://scriptable.app/docs/first-widget.md) or explore the [API reference](https://scriptable.app/docs/reference/listwidget.md).

## JavaScript environment

Scriptable uses Apple's [JavaScriptCore](https://developer.apple.com/documentation/javascriptcore). It runs JavaScript outside a browser, so browser-specific objects such as `document` and `window` are not available.

Use Scriptable's native APIs to work with files, calendars, widgets, notifications, and more. The API reference on this site comes from the same documentation data used inside the app.

## Learning JavaScript

If you're new to JavaScript, try [Codecademy's JavaScript introduction](https://www.codecademy.com/learn/introduction-to-javascript) or the [MDN JavaScript guide](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide). Browser-focused examples may need adapting to Scriptable's environment.

## Community

Get help and share your scripts in the [Scriptable forum](https://talk.automators.fm/c/scriptable/13), hosted by [Automators](https://www.relay.fm/automators).