> ## 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 Persona

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

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

## Prerequisites

Before creating Personas, ensure you have:

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

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

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

        <Frame>
          <img src="https://mintcdn.com/hyperleap/hVizvetMa1CprwXZ/images/personas/persona-pg.png?fit=max&auto=format&n=hVizvetMa1CprwXZ&q=85&s=797cae6873ce48ef0e1fc36fbe198e0e" alt="Creating a new persona from persona playground" width="800" data-path="images/personas/persona-pg.png" />
        </Frame>
      </Tab>

      <Tab title="Use Template">
        Choose pre-configured Persona from Persona library

        <Frame>
          <img src="https://mintcdn.com/hyperleap/hVizvetMa1CprwXZ/images/personas/persona-library.png?fit=max&auto=format&n=hVizvetMa1CprwXZ&q=85&s=421a8d1c0da9e2559ae32ed6c459e6f4" alt="Selecting a Persona from Persona library" width="800" data-path="images/personas/persona-library.png" />
        </Frame>

        <Frame>
          <img src="https://mintcdn.com/hyperleap/hVizvetMa1CprwXZ/images/personas/import-persona-library.png?fit=max&auto=format&n=hVizvetMa1CprwXZ&q=85&s=fd1e73497a15aee4e9a212e6d83888a9" alt="import Persona from Persona library" width="800" data-path="images/personas/import-persona-library.png" />
        </Frame>
      </Tab>
    </Tabs>
  </Step>

  <Step title="Define Behaviour">
    Define or update your Persona's behavior. You can include dynamic variables (e.g. `{{variable_name}}`) that will be replaced with actual values when the Persona is used.

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

    <Frame>
      <img src="https://mintcdn.com/hyperleap/QxFG4NXBbALtF1BY/images/personas/enter-input.png?fit=max&auto=format&n=QxFG4NXBbALtF1BY&q=85&s=7262d39bde1a1058ed7c3f14ba90bafb" alt="Defining persona behaviour" width="800" data-path="images/personas/enter-input.png" />
    </Frame>
  </Step>

  <Step title="Configure Persona">
    Configure the core aspects of your persona:

    <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/personas/set-model.png?fit=max&auto=format&n=hVizvetMa1CprwXZ&q=85&s=c38e27cbd139e414ca2414274c576d5b" alt="Setting AI model" width="800" data-path="images/personas/set-model.png" />
        </Frame>
      </Accordion>

      <Accordion title="Add Sources" icon="database">
        Connect your data Sources to improve the accuracy and relevance of AI responses. This allows the AI to reference up-to-date information and context, ensuring more informed interactions.

        * You can upload 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/personas/sources.png?fit=max&auto=format&n=hVizvetMa1CprwXZ&q=85&s=5d1662fc996a4117603191737c3f4e4c" alt="Adding sources" width="800" data-path="images/personas/sources.png" />
        </Frame>
      </Accordion>

      <Accordion title="Adjust Configuration Parameters" icon="sliders">
        Fine-tune your Persona parameters:

        <Frame>
          <img src="https://mintcdn.com/hyperleap/QxFG4NXBbALtF1BY/images/personas/adjust-configuration.png?fit=max&auto=format&n=QxFG4NXBbALtF1BY&q=85&s=8824de4329104b25523d1ca1171ff8bf" alt="Adjusting configurations" width="800" data-path="images/personas/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 persona

        <Frame>
          <img src="https://mintcdn.com/hyperleap/hVizvetMa1CprwXZ/images/personas/import-persona.png?fit=max&auto=format&n=hVizvetMa1CprwXZ&q=85&s=e0c6b09f9876ca82d237ce98a1b13ad7" alt="Importing Personas" width="800" data-path="images/personas/import-persona.png" />
        </Frame>

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

  <Step title="Test Interactions">
    Validate your Persona's behavior in the playground:

    * Test different scenarios
    * Verify knowledge accuracy
    * Check response consistency

    <Frame>
      <img src="https://mintcdn.com/hyperleap/hVizvetMa1CprwXZ/images/personas/test-behaviour.png?fit=max&auto=format&n=hVizvetMa1CprwXZ&q=85&s=a1e90629612229e29a5d982aa4adc454" alt="Testing Persona" width="800" data-path="images/personas/test-behaviour.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/QxFG4NXBbALtF1BY/images/personas/compare-test.png?fit=max&auto=format&n=QxFG4NXBbALtF1BY&q=85&s=fffd3ab41181a9976ced7177a9b70eb1" alt="Configure and compare models" width="800" data-path="images/personas/compare-test.png" />
    </Frame>

    <Frame>
      <img src="https://mintcdn.com/hyperleap/QxFG4NXBbALtF1BY/images/personas/compare-response.png?fit=max&auto=format&n=QxFG4NXBbALtF1BY&q=85&s=49d07578d93bd9d88a9bf063d6290409" alt="Compare response" width="800" data-path="images/personas/compare-response.png" />
    </Frame>
  </Step>

  <Step title="Save and Publish">
    Finalize your Persona 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/personas/save-draft.png?fit=max&auto=format&n=hVizvetMa1CprwXZ&q=85&s=4bae30f5b28c1c714fbaad86302befcb" alt="Save and publish Persona" width="800" data-path="images/personas/save-draft.png" />
    </Frame>
  </Step>
</Steps>

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

## What's Next?

<CardGroup cols={2}>
  <Card title="API Reference" icon="code" href="/api-reference/conversations/overview">
    Learn how to integrate Personas programmatically using our API
  </Card>

  <Card title="View Persona Templates" icon="users" href="https://studio.hyperleapai.com/persona-library">
    Explore our library of pre-built Personas
  </Card>
</CardGroup>
