# Custom Commands

Using the Tabnine Chat functionality, you can create custom commands to generate tests with comprehensive or specific instructions.

Go to the cog in the upper righthand corner and click.

Scroll down to where it says **Define custom commands**.

Press <mark style="background-color:blue;">**Add**</mark>**.**

<figure><img src="https://3436682446-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FY2qxVf5VTm3fmwP4B4Gx%2Fuploads%2Fgit-blob-2e5792f104c7317beec47fb71c1d8b1841c7a2a8%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

At this point, you can type in or paste your instructions for Tabnine within the **Define new Command** window, specifically in the **Enter the prompt template** text box.

When you're ready, hit <mark style="background-color:blue;">**Save**</mark>.

<figure><img src="https://3436682446-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FY2qxVf5VTm3fmwP4B4Gx%2Fuploads%2Fgit-blob-ec191ed7f5ef0bbdac738ec2c13f1d6b6a2dc955%2FDefine%20custom%20command%20chat.gif?alt=media" alt="Paste your instructions in the &#x27;Enter the prompt template&#x27; box, then hit Save for custom commands in Tabnine"><figcaption><p>Paste your instructions in the 'Enter the prompt template' box, then hit Save for custom commands in Tabnine</p></figcaption></figure>

Save this code in your current, or a new, test file.
