# Modules

A module is like a **“snippets of cards or flows”** that you use often across different boards. You can create and save modules to reuse them instantly in other boards, without having to recreate them each time

### **How to Create a Module**

You can create a module in two ways:

**Method 1: Create a Module from a New Board**

* Click **“Modules”** on the sidebar, then click **“Create”** to build a frequently used module that you can reuse in new boards

<figure><img src="https://1709498919-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F35XiPgzETMaWCLi81sLh%2Fuploads%2FCfVEyevJ3pgYNfqRCt4Q%2FAerogram%20Marketing%20(44).png?alt=media&#x26;token=93fc9ba8-85c8-472d-950b-6e8efe63a7a4" alt=""><figcaption></figcaption></figure>

**Method 2: Create a Module from Existing Board Cards**

* **Step 1:** Select the card or group of cards on your existing board. You can choose a single card or an entire connected flow that you want to convert into a module
* **Step 2:** Start creating the module by selecting **“Module”** from the toolbar after making your selection

<figure><img src="https://1709498919-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F35XiPgzETMaWCLi81sLh%2Fuploads%2Fr1TbUKQsJhCKwbn38WQh%2FAerogram%20Marketing%20(45).png?alt=media&#x26;token=70b802c0-04f6-4547-af35-3d2a46ac99c2" alt=""><figcaption></figcaption></figure>

* **Step 3:** Enter the module name and a short description, then publish it for personal use or share it with your team

<figure><img src="https://1709498919-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F35XiPgzETMaWCLi81sLh%2Fuploads%2FftOJW5vrVvUTT2GaKjU1%2F%E0%B8%A0%E0%B8%B2%E0%B8%9E%E0%B8%96%E0%B9%88%E0%B8%B2%E0%B8%A2%E0%B8%AB%E0%B8%99%E0%B9%89%E0%B8%B2%E0%B8%88%E0%B8%AD%202569-01-16%20%E0%B9%80%E0%B8%A7%E0%B8%A5%E0%B8%B2%2018.00.25.png?alt=media&#x26;token=4996eee8-0a77-4b64-8cb6-cd6ae80a2b21" alt=""><figcaption></figcaption></figure>

* **Step 4:** You can see all modules or choose to edit your own. When you edit a module, you will be taken to a dedicated editing board, which is a private space accessible only to you as the creator. Here, you can update the description, review the settings, and prepare the module for publishing

<figure><img src="https://1709498919-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F35XiPgzETMaWCLi81sLh%2Fuploads%2F7clSYggLfHmWyGwHGXqF%2FAerogram%20Marketing%20Group%20(29).png?alt=media&#x26;token=281d59ba-a80b-4a31-8513-c74dd001cff9" alt=""><figcaption></figcaption></figure>

### **How to Find Your Modules**

**Within a board (for use):** When working on any board, you can quickly access modules by looking for the module icon or menu. A sidebar or pop-up will display all available modules for use

<figure><img src="https://1709498919-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F35XiPgzETMaWCLi81sLh%2Fuploads%2FwkW3vL2p4eo8V39iiVO6%2FAerogram%20Marketing%20(46).png?alt=media&#x26;token=1f87a92c-2f82-4426-b688-dc6655a2b411" alt=""><figcaption></figcaption></figure>

**From the Home page (for editing):** To manage or edit the modules you have created, go to the **“Modules”** section on Aerogram’s Home page. This area displays all of your personal modules, where you can edit or publish them as needed

<figure><img src="https://1709498919-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F35XiPgzETMaWCLi81sLh%2Fuploads%2F3sOpMfr9zLkXd8nTey7m%2FAerogram%20Marketing%20Group%20(30).png?alt=media&#x26;token=cca57402-9fe8-4464-9a4b-8f27fa79bc10" alt=""><figcaption></figcaption></figure>

### **How to Use Modules**

When working on any board, you can quickly access modules by looking for the module icon and clicking the module button

<figure><img src="https://1709498919-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F35XiPgzETMaWCLi81sLh%2Fuploads%2F9JVGBPPRtwHFOQYwKX36%2FAerogram%20Marketing%20Group%20(29).png?alt=media&#x26;token=f60d745a-0acc-4c7b-868e-f1fbbf5e6f2f" alt=""><figcaption></figcaption></figure>

Then, click the **“Add Module”** button or drag and drop the module onto the board. The system will automatically create it for you, and it will be ready to use immediately

<figure><img src="https://1709498919-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F35XiPgzETMaWCLi81sLh%2Fuploads%2F4G2aF9ms5ikkgOTeZrfc%2FAerogram%20Marketing%20Group%20(30).png?alt=media&#x26;token=92ce10c9-1601-4ce6-9608-bd34f810c892" alt=""><figcaption></figcaption></figure>

### **Module Permission Management**

When you create a module, you can control how other users interact with each card by setting **card permissions**. These settings determine what users can see and edit

* **Show All:** Users can view everything in the card (including prompts and outputs) and can edit the content
* **Hide Prompt:** Users can run the card and view the output, but cannot see the original prompt
* **Hide Prompt and Result:** Users can only run the card but cannot see either the original prompt or the output. This is suitable for hiding complex internal logic (black-box use)

<figure><img src="https://1709498919-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F35XiPgzETMaWCLi81sLh%2Fuploads%2Fqp51tn2KGrT6WBjl1Bg2%2FAerogram%20Marketing%20(44).png?alt=media&#x26;token=54d47309-4763-4c9f-9261-c02c3a658ff4" alt=""><figcaption></figcaption></figure>

**Module Viewer:** Users who can view and use the latest version of a module\
**Module Editor:** Users who can edit the module and publish new versions

<figure><img src="https://1709498919-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F35XiPgzETMaWCLi81sLh%2Fuploads%2FcM82dvETYsggVwE3CAp2%2FAerogram%20Marketing%20Group%20(33).png?alt=media&#x26;token=82bc572c-eb70-4402-bbcd-f9f4f335d428" alt=""><figcaption></figcaption></figure>
