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

# Pexels

> Add beautiful stock photos

Pexels lets you find and use beautiful stock photos in your project.

## Overview

<CardGroup cols={2}>
  <Card title="Create Account" icon="user">
    Sign up for a Pexels account
  </Card>

  <Card title="Get API Key" icon="key">
    Generate your Pexels API key
  </Card>

  <Card title="Copy into Anything" icon="plug">
    Add your API key to Anything's secrets
  </Card>
</CardGroup>

## Account Creation

<Steps>
  <Step title="Visit Pexels Website">
    Go to [pexels.com](https://www.pexels.com/) and click "Join" in the top right corner

    <img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXegFRdrCRgWAd6FltXOQHSM_p9amztFsQQuGzAEJbKOoGCyPfBk-GLybWWpz7ZeluqCJo9KAi7UjOkC9L_WtcLeC104f5IW8eG-J-WCRTr4UPjmC45vHeArqGDX_yQGhirJOZGj?key=NZ4d7cCGppQiJdZwRfiRd3BA" style={{ borderRadius: '0.5rem', width: '624px', height: '303px' }} />
  </Step>

  <Step title="Choose Signup Method">
    * Sign up with email/password
    * Or continue with Google authentication
  </Step>
</Steps>

## Generate API Key

<Steps>
  <Step title="Access Account Settings">
    1. Click the three-dot menu next to your profile avatar
    2. Select "Images & Video API" from the dropdown

    <img src="https://mintcdn.com/create/0uSd9vqrMRrQ_VKJ/Screenshot2025-02-03at12.47.42PM.png?fit=max&auto=format&n=0uSd9vqrMRrQ_VKJ&q=85&s=47e71812c9d1ab8535843c7080f79799" style={{ borderRadius: '0.5rem' }} width="1704" height="521" data-path="Screenshot2025-02-03at12.47.42PM.png" />
  </Step>

  <Step title="Create New Token">
    1. Click "Your API Key" button
    2. Generate new token for Anything integration

    <img src="https://mintcdn.com/create/0uSd9vqrMRrQ_VKJ/Screenshot2025-02-03at12.50.50PM.png?fit=max&auto=format&n=0uSd9vqrMRrQ_VKJ&q=85&s=cab5fbfddbbef8fc2fd5212909de17f1" style={{ borderRadius: '0.5rem' }} width="1711" height="696" data-path="Screenshot2025-02-03at12.50.50PM.png" />

    <img src="https://mintcdn.com/create/0uSd9vqrMRrQ_VKJ/Screenshot2025-02-03at12.52.30PM.png?fit=max&auto=format&n=0uSd9vqrMRrQ_VKJ&q=85&s=25dd67d70144b324cac8d2aa08f81de4" style={{ borderRadius: '0.5rem' }} width="785" height="719" data-path="Screenshot2025-02-03at12.52.30PM.png" />
  </Step>

  <Step title="Copy Your Token">
    1. Copy the generated API key
    2. You can find this key again from your Pexels dashboard
  </Step>
</Steps>

## Add to Anything project

<Steps>
  <Step title="Add the integration">
    1. In your Anything project, type `/` in the chat
    2. Select "Pexels" from the menu and send a messsage
  </Step>

  <Step title="Add your API key">
    1. Paste your Pexels API key into the "Pexels API Key" field

    <Tip>
      Need a new key? Contact [Pexels support](mailto:api@pexels.com).
    </Tip>
  </Step>

  <Step title="Use it">
    You can now use prompts with the integration to add stock photos.

    Some examples:

    * `Make the homepage banner a photo of a retailer with /Pexels`
    * `Find me a photo of a dog playing fetch with /Pexels and add it`
    * `Make a gallery of product images with /Pexels`

    <Warning>
      Pexels photos may change over time. Save the image URLs so they
      stick around between sessions.
    </Warning>

    Example prompt for saving:

    ```
    When using /Pexels, save the image URLs so I can reuse them later
    ```
  </Step>
</Steps>

<Tip>
  Your Pexels integration is now ready! Use the `/Pexels` command in chat to add stock photos.
</Tip>
