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

# Create and Configure Prompt

> Learn how to create and set up your AI prompts in Hyperleap AI

Follow these steps to create and configure a Prompt in Hyperleap AI:

## Prerequisites

Before creating Prompts, ensure you have:

* Access to [Studio](https://studio.hyperleapai.com)
* Credits in your account

<Steps>
  <Step title="Get Started">
    There are two ways to create a Prompt

    <Tabs>
      <Tab title="Start from Scratch">
        Start creating your Prompt from Prompt Playground

        <Frame>
          <img src="https://mintcdn.com/hyperleap/hVizvetMa1CprwXZ/images/prompts/prompt-pg.png?fit=max&auto=format&n=hVizvetMa1CprwXZ&q=85&s=c972f46de9f0d3a056ac57ab36e602cb" alt="Creating a blank prompt" width="800" data-path="images/prompts/prompt-pg.png" />
        </Frame>
      </Tab>

      <Tab title="Use Template">
        Choose pre-configured Prompt from Prompt Library

        <Frame>
          <img src="https://mintcdn.com/hyperleap/hVizvetMa1CprwXZ/images/prompts/prompt-library.png?fit=max&auto=format&n=hVizvetMa1CprwXZ&q=85&s=32f455adce08cd174d980c3ee8273ed1" alt="Selecting a Prompt from Prompt library" width="800" data-path="images/prompts/prompt-library.png" />
        </Frame>

        <Frame>
          <img src="https://mintcdn.com/hyperleap/hVizvetMa1CprwXZ/images/prompts/import-prompt.png?fit=max&auto=format&n=hVizvetMa1CprwXZ&q=85&s=c177f087bd9c20cc5e2a28196f6aefd8" alt="importing a Prompt" width="800" data-path="images/prompts/import-prompt.png" />
        </Frame>
      </Tab>
    </Tabs>
  </Step>

  <Step title="Configure Replacements">
    Define or update your Prompt input. You can include dynamic variables (e.g. `{{variable_name}}`) that will be replaced with actual values when the Prompt is used.

    * Use `{{variable_name}}` syntax for replacements

    <Frame>
      <img src="https://mintcdn.com/hyperleap/hVizvetMa1CprwXZ/images/prompts/add-replacements.png?fit=max&auto=format&n=hVizvetMa1CprwXZ&q=85&s=f01f265e76d616cc8266192692e39c19" alt="Adding dynamic variables" width="800" data-path="images/prompts/add-replacements.png" />
    </Frame>
  </Step>

  <Step title="Configure Settings">
    <AccordionGroup>
      <Accordion title="Set AI Model" icon="microchip">
        Choose the AI model that best fits your use case:

        <Frame>
          <img src="https://mintcdn.com/hyperleap/hVizvetMa1CprwXZ/images/prompts/set-model.png?fit=max&auto=format&n=hVizvetMa1CprwXZ&q=85&s=8f48e0e2127f193016a63ec159900186" alt="Setting AI model" width="800" data-path="images/prompts/set-model.png" />
        </Frame>
      </Accordion>

      <Accordion title="Attach Sources" icon="database">
        Connect your data sources to ground AI responses:

        * Add documents, website URLs, or text content

        <Note>
          To learn more about sources, check out the [Sources](/guides/sources) guide.
        </Note>

        <Frame>
          <img src="https://mintcdn.com/hyperleap/hVizvetMa1CprwXZ/images/prompts/sources.png?fit=max&auto=format&n=hVizvetMa1CprwXZ&q=85&s=48fbc011c6412c8e0e66f23db917b19b" alt="Attaching data sources" width="800" data-path="images/prompts/sources.png" />
        </Frame>
      </Accordion>

      <Accordion title="Adjust Configurations" icon="sliders">
        Fine-tune your Prompt parameters:

        <Frame>
          <img src="https://mintcdn.com/hyperleap/hVizvetMa1CprwXZ/images/prompts/adjust-configuration.png?fit=max&auto=format&n=hVizvetMa1CprwXZ&q=85&s=fb6588bd2bfd5c8225121b7c6bc00300" alt="Adjusting configurations" width="800" data-path="images/prompts/adjust-configuration.png" />
        </Frame>
      </Accordion>

      <Accordion title="Access Template Library" icon="file-import">
        Access our template library at any point during configuration:

        * View available templates by category
        * Preview template behaviors
        * Apply template settings to your current prompt

        <Frame>
          <img src="https://mintcdn.com/hyperleap/hVizvetMa1CprwXZ/images/prompts/import-prompts.png?fit=max&auto=format&n=hVizvetMa1CprwXZ&q=85&s=4f7ba9c8a0fe5aa0c6a011f916a56cf0" alt="Importing Prompts" width="800" data-path="images/prompts/import-prompts.png" />
        </Frame>
      </Accordion>

      <Note>
        This is an alternative way to access templates if you didn't start with one. Your existing configurations will be overridden.
      </Note>
    </AccordionGroup>
  </Step>

  <Step title="Test Prompt">
    Test your Prompt configuration in the playground: - Enter dynamic values -
    View generated responses

    <Frame>
      <img src="https://mintcdn.com/hyperleap/hVizvetMa1CprwXZ/images/prompts/generate-response.png?fit=max&auto=format&n=hVizvetMa1CprwXZ&q=85&s=4e98657eb2c6d21aee570cd8af278361" alt="Generating response" width="800" data-path="images/prompts/generate-response.png" />
    </Frame>

    <Frame>
      <img src="https://mintcdn.com/hyperleap/hVizvetMa1CprwXZ/images/prompts/enter-inputs.png?fit=max&auto=format&n=hVizvetMa1CprwXZ&q=85&s=108e3c0e1a4043c36b7d8dc182ab478f" alt="Entering values" width="800" data-path="images/prompts/enter-inputs.png" />
    </Frame>
  </Step>

  <Step title="Compare Models">
    Compare the performance of different AI models: - View response quality -
    Adjust configurations - Analyze response time

    <Frame>
      <img src="https://mintcdn.com/hyperleap/hVizvetMa1CprwXZ/images/prompts/compare-models.png?fit=max&auto=format&n=hVizvetMa1CprwXZ&q=85&s=1d39661ef4fce14c26a44646c7a1faf1" alt="Comparing models" width="800" data-path="images/prompts/compare-models.png" />
    </Frame>
  </Step>

  <Step title="Save and Activate">
    Finalize your Prompt configuration:

    * Save as draft to continue editing and share with your team later
    * Publish to make it available to your team

    <Frame>
      <img src="https://mintcdn.com/hyperleap/hVizvetMa1CprwXZ/images/prompts/save-prompt.png?fit=max&auto=format&n=hVizvetMa1CprwXZ&q=85&s=58f01981b5153140562287ddff6a4ac9" alt="Saving and activating Prompt" width="800" data-path="images/prompts/save-prompt.png" />
    </Frame>
  </Step>
</Steps>

<Note>
  Users on the Free plan can create up to 10 Prompts. Upgrade your plan to
  create more Prompts and access additional features.
</Note>

## What's Next?

<CardGroup cols={2}>
  <Card title="Prompt Library" icon="book-open" href="https://studio.hyperleapai.com/prompt-library">
    Explore our library of pre-built Prompt templates
  </Card>

  <Card title="API Reference" icon="code" href="/api-reference/prompts/overview">
    View complete API documentation for Prompts
  </Card>
</CardGroup>
