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

# Security Questionnaire

> Automatically answer vendor security questionnaires with approved policies, knowledge base documents, and Comp AI review workflows.

<Note>
  For server-side automation, use the API-key protected questionnaire endpoints in the [API
  reference](/api-reference/questionnaire/upload-a-questionnaire-file-and-auto-answer-with-export).
</Note>

### About Security Questionnaire

The Security Questionnaire feature allows you to automatically analyze and answer vendor security questionnaires using AI. Upload questionnaires from vendors, and our system will extract questions and generate answers based on your organization's published policies and documentation.

**Key Benefits:**

* **Automated Question Extraction**: Upload questionnaire files and let AI extract all questions automatically
* **Intelligent Answer Generation**: Answers are generated based on your published policies and organizational context
* **Manual Review & Editing**: Review and edit answers before exporting
* **Knowledge Base Integration**: Leverage your organization's knowledge base for comprehensive answers

### Prerequisites

Before using the Security Questionnaire feature, ensure you have:

1. **Published Policies**: You must have at least one published policy in your organization
   * Navigate to **Policies** → **All Policies** to publish policies
   * Published policies are used as the source of truth for generating answers

<Note>
  If you don't have published policies, you'll see an onboarding screen prompting you to publish
  policies first.
</Note>

### Getting Started

#### Step 1: Access Security Questionnaire

1. Navigate to **Security Questionnaire** in your organization dashboard
2. You'll see the overview page with:
   * A "Create New Questionnaire" card
   * History of previously parsed questionnaires

#### Step 2: Create a New Questionnaire

1. Click the **New Questionnaire** button
2. Upload your questionnaire file (PDF, DOCX, or other supported formats)
3. The system will automatically:
   * Extract questions from the document
   * Generate answers based on your published policies
   * Create a structured questionnaire view

#### Step 3: Review and Edit Answers

Once the questionnaire is parsed:

* **View Questions**: Browse through all extracted questions
* **Review Answers**: Check AI-generated answers for accuracy
* **Edit Answers**: Click on any answer to edit it manually
* **Add Context**: Link answers to specific knowledge base documents or policies
* **Manual Answers**: Add manual answers for questions that require custom responses

#### Step 4: Export Questionnaire

After reviewing and editing:

1. Click **Export** to generate the completed questionnaire
2. The exported file will include all your answers ready for submission

### Features

#### Knowledge Base Integration

The Security Questionnaire feature integrates with your organization's knowledge base:

* **Published Policies**: Automatically references your published policies
* **Additional Documents**: Upload additional context documents for better answer generation
* **Manual Answers**: Create reusable manual answers for common questions

#### Answer Management

<Accordion title="Answer Types" description="Different ways to answer questions" icon="sparkles">
  ### Automated Answers

  Answers generated automatically by AI based on your policies and documentation.

  ### Manual Answers

  Custom answers you create for specific questions. These can be reused across questionnaires.

  ### Knowledge Base Answers

  Answers linked to specific documents in your knowledge base for traceability.
</Accordion>

### Best Practices

1. **Keep Policies Updated**: Ensure your published policies are current and comprehensive
2. **Review All Answers**: Always review AI-generated answers before exporting
3. **Add Context**: Link answers to specific policies or documents when possible
4. **Use Manual Answers**: Create manual answers for frequently asked questions
5. **Organize Knowledge Base**: Maintain a well-organized knowledge base for better answer quality

### Troubleshooting

<Accordion title="Common Issues" description="Solutions to common problems" icon="warning">
  ### No Published Policies

  If you see the onboarding screen, you need to publish at least one policy first.

  Navigate to **Policies** → **All Policies** and publish your policies.

  ### Questions Not Extracted

  If questions aren't extracted properly:

  * Ensure the questionnaire file is readable and not corrupted
  * Try re-uploading the file
  * Contact support if issues persist

  ### Answers Not Accurate

  If generated answers aren't accurate:

  * Review and update your published policies
  * Add additional context documents to your knowledge base
  * Manually edit answers as needed
</Accordion>

### Support

For additional assistance with Security Questionnaire:

1. Check our [Knowledge Base](https://help.trycomp.ai/security-questionnaire)
2. Contact support at [support@trycomp.ai](mailto:support@trycomp.ai)
3. Join our [Discord community](https://discord.gg/compai) for peer support
