# Getting Started

This section covers everything you need to start building automation functions on Mimic Protocol. It is organized into two skills that you can work through in order.

***

### What you need

* [Node.js](https://nodejs.org/) 18 or later
* A package manager: `npm`, `yarn`, or `pnpm`
* A Mimic account and API key — get one from the [Mimic explorer](https://protocol.mimic.fi/) under account settings

***

### The two skills

| Skill                                                 | What you will learn                                                                              |
| ----------------------------------------------------- | ------------------------------------------------------------------------------------------------ |
| [CLI](/skills/skill-cli.md)                           | Install and use the Mimic CLI to scaffold, build, and deploy functions                           |
| [Writing a Mimic Function](/skills/skill-function.md) | Understand the function anatomy, library APIs, intents, queries, logging, and persistent storage |

***

### Development workflow at a glance

```
npx @mimicprotocol/cli init my-function   # scaffold project
cd my-function
yarn mimic codegen                         # generate types from manifest
# ... write your function logic ...
yarn mimic compile                         # compile to WASM
yarn mimic deploy                          # upload to IPFS registry
```

After deploying, open the [explorer](https://protocol.mimic.fi/), find your function, create a trigger, and sign it with your wallet. Relayers will pick it up and execute it automatically.

***

### Next steps

* [CLI skill](/skills/skill-cli.md) — start here if you are new to the toolchain
* [Function skill](/skills/skill-function.md) — learn how to write function logic using the library
* [Examples](/examples/build-a-simple-function.md) — end-to-end walkthroughs for common automation patterns


---

# 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.mimic.fi/skills/getting-started.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.
