> ## Documentation Index
> Fetch the complete documentation index at: https://www.activepieces.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Start Building

> [!TIP]
>
> Want to skip the manual steps? [Build with AI](https://www.activepieces.com/docs/build-pieces/building-pieces/build-with-ai.md) using the piece-builder skill, the recommended way to build pieces.

This section guides you in creating a Gelato piece, from setting up your development environment to contributing the piece. By the end of this tutorial, you will have a piece with an action that fetches a random ice cream flavor and a trigger that fetches newly created ice cream flavors.

> [!NOTE]
>
> These are the next sections. In each step, we will do one small thing. This tutorial should take around 30 minutes.

## Steps Overview

**1. Fork Repository**

Fork the repository to create your own copy of the codebase.

**2. Setup Development Environment**

Set up your development environment with the necessary tools and dependencies.

**3. Create Piece Definition**

Define the structure and behavior of your Gelato piece.

**4. Add Piece Authentication**

Implement authentication mechanisms for your Gelato piece.

**5. Create Action**

Create an action that fetches a random ice cream flavor.

**6. Create Trigger**

Create a trigger that fetches newly created ice cream flavors.

**7. Sharing Pieces**

Share your Gelato piece with others.

> [card] Contribution
>
> Contribute a piece to our repo and receive +1,400 tasks/month on [Activepieces Cloud](https://cloud.activepieces.com).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.