# Copilot

### Copilot helps you do the following:

* Evaluate templates against well-architected frameworks, security assessments, and known configuration vulnerabilities.
* Import your configuration data from JSON, YAML, HCL, TF\_Vars, INI, and any structured data format.&#x20;
* Automatically create templates from project parameters.
* Fix template syntax and consistency issues.
* Use prompts to create config variables and templates for any project.
* Learn how to use CloudTruth.&#x20;

Copilot does not share your configuration data with outside parties.&#x20;

### Using the Copilot

Invoke the Copilot at any time using the Copilot header menu option.

First-time users will see a blank screen and ready to accept your first prompt.&#x20;

Returning users will see previous threads.

<figure><img src="https://2952342643-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MGjN2Xg1mE8iTvg49dw%2Fuploads%2F79r6nK1vvqppGMm0lcgR%2FCT-Copilot-New-Thread.png?alt=media&#x26;token=7fcadad0-baff-4683-8ea8-160628d9a4db" alt=""><figcaption><p>Start a new prompt</p></figcaption></figure>

1. Click + to start a new thread or open a previous conversation. The state is preserved.&#x20;
2. Previous conversations are accessible in the left-hand menu.
3. Select a canned prompt. Canned prompts may require more context, which you can add in the message box.&#x20;
4. Send Copilot a prompt, upload a file to take action, or ask Copilot a question.&#x20;

### Sample Copilot conversation

<figure><img src="https://2952342643-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MGjN2Xg1mE8iTvg49dw%2Fuploads%2F1vE2jK8LtF50VEPJdjkd%2FCT-Copilot-Main-Interface.png?alt=media&#x26;token=f75ed4b2-8c67-4bf2-9bf4-81de70cb3a29" alt=""><figcaption><p>Copilot Main Interface</p></figcaption></figure>

Here's a sample Copilot conversation requesting the AI to generate a Terraform AWS EKS best practices configuration file. The Copilot creates all the standard parameters with descriptions, default values, and templates in various formats: variables.tf, TF\_Vars, or main.tf.
