---
title: Using the Perplexity AI API Key in LobeHub
description: >-
  Learn how to configure and use Perplexity AI in LobeHub, obtain your API key,
  and choose the right language model to start chatting.
tags:
  - Perplexity AI
  - API key
  - Web UI
---

# Using Perplexity AI in LobeHub

<Image alt={'Using Perplexity AI in LobeHub'} cover src={'/blog/assets17870709/0c2c399f-2ed3-44b5-97c8-53e007e8c095.webp'} />

The Perplexity AI API is now available to everyone. This guide will walk you through how to use [Perplexity AI](https://www.perplexity.ai/) within LobeHub:

<Steps>
  ### Step 1: Get Your Perplexity AI API Key

  - Create a [Perplexity AI](https://www.perplexity.ai/) account
  - Retrieve your [API key](https://www.perplexity.ai/settings/api)

  <Image alt={'Create API Key'} inStep src={'/blog/assets17870709/80e22593-dc0f-482c-99bf-69acdb62d952.webp'} />

  ### Step 2: Configure Perplexity AI in LobeHub

  - Go to the `Settings` page in LobeHub
  - Under `AI Providers`, locate the `Perplexity AI` configuration section

  <Image alt={'Enter API Key'} inStep src={'/blog/assets17870709/51f8f8f6-5d8a-4cf0-a2e5-d96c69fe05b8.webp'} />

  - Paste your API key into the input field
  - Choose a Perplexity AI model for your assistant to start chatting

  <Image alt={'Select Perplexity AI model and start chatting'} inStep src={'/blog/assets17870709/e6a429cb-96e1-4e85-9aa3-1334ffcad8c0.webp'} />

  <Callout type={'warning'}>
    You may incur charges from the API provider while using the service. Please refer to Perplexity AI’s pricing policy for more details.
  </Callout>
</Steps>

And that’s it! You’re now ready to start chatting with models powered by Perplexity AI in LobeHub.
