# Tutorial

{% embed url="<https://swpimage-9d07.kxcdn.com/wp-efs/sassywackypeanut/uploads/2024/09/whiteboard.png>" %}
Viewing a featured header component within Whiteboard tool.
{% endembed %}

Whiteboard is a tool built for use with Peanut for Wordpress that creates a "playground" for quickly developing and testing your components. (i.e. like Storybook for React, except for Peanut)

Within the interface, you can update component arguments dynamically and immediately see the results of your changes.

As we continue to build out this tool, it is currently only available by running Peanut for Wordpress via the [source code at the GitHub repository](https://github.com/swplabs/peanut).

To enable the Whiteboard feature during development, run the CLI script in the root directory of the source code repo and add the "-w" flag to the "develop" command:

```bash
node ./cli.js develop -s path/to/peanut/elements/source/folder -d -w
```

If you'd like a quick way to try it all out, download the [source code](https://github.com/swplabs/peanut) from the repo link mentioned previously as well as our ["peanut-examples" elements repo](https://github.com/swplabs/peanut-examples) and use the following command syntax.

```bash
node ./cli.js develop -s path/to/the/repo/peanut-examples -d -w
```


---

# 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://docs.swplabs.com/peanut-for-wordpress/whiteboard/tutorial.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.
