# Code Snippets

## Why Code Snippets

Code snippets are Python code that help you do any number of things -- often things that don't easily fit into a spreadsheet. For example, programatically sending an email!&#x20;

## Using Code Snippets&#x20;

To use code snippets in Mito.

1. Open the `Code` tab in the taskpane.&#x20;
2. Click `Code Snippets` to open the taskpane.&#x20;
3. Click on the code snippet you want to use and either select `Copy Code Snippet` to copy the code snippet to your clipboard or `Write to Notebook` to automatically create a new code cell below the Mito generated code that contains the code snippet.&#x20;

<figure><img src="https://2294704369-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MP_U5ZCmiamDOXEOOTC%2Fuploads%2Fwoif0EvqZK5eL7Jer2wk%2FScreen%20Shot%202023-11-29%20at%203.44.29%20PM.png?alt=media&#x26;token=cde169ef-d76c-4963-84ce-5359565f3005" alt=""><figcaption><p>The code snippets taskpane</p></figcaption></figure>

## Custom Code Snippets ![](https://2294704369-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MP_U5ZCmiamDOXEOOTC%2Fuploads%2FLSIoj11Nc3JwiFkelN6c%2FEnterprise%20Icon.svg?alt=media\&token=3bafdaae-77d5-456f-ae32-854d17553d81)&#x20;

Mito Enterprise users and admins can import their own code snippets into Mito, making them available to all Mito users at their organizaiton. For more information on how to import your own code snippets, reach out to the Mito team at: <founders@sagacollab.com>. &#x20;
