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

# TripAdvisor

> Access travel information and reviews

TripAdvisor Content API provides access to a vast database of travel information, including hotels, restaurants, attractions, and user reviews.

<Warning>
  TripAdvisor API requires billing info to pay for overage fees above 5000 requests per month.
</Warning>

## Overview

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

  <Card title="Get API Key" icon="key">
    Generate your TripAdvisor 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 TripAdvisor Developer Portal">
    Go to [tripadvisor.com/developers](https://tripadvisor.com/developers) and click "Log in to get started"

    <img src="https://mintcdn.com/create/gRjeYBLWcrADikTp/images/tripadvisor/homepage.png?fit=max&auto=format&n=gRjeYBLWcrADikTp&q=85&s=67029be9f4f36fb09982748ac6d2c849" style={{ borderRadius: '0.5rem', width: '624px', height: '303px' }} width="2772" height="1342" data-path="images/tripadvisor/homepage.png" />
  </Step>

  <Step title="Complete Registration">
    * Fill in your personal and company information
    * Verify your email address
    * Accept the terms of service

    <img src="https://mintcdn.com/create/gRjeYBLWcrADikTp/images/tripadvisor/signup.png?fit=max&auto=format&n=gRjeYBLWcrADikTp&q=85&s=cd30c715c985614a3ba514eb901a7e2a" style={{ borderRadius: '0.5rem', width: '303px', height: '303px' }} width="934" height="1164" data-path="images/tripadvisor/signup.png" />
  </Step>
</Steps>

## Generate API Key

<Steps>
  <Step title="Access Developer Dashboard">
    1. Log in to your TripAdvisor developer account
    2. Navigate to the "My API" section in your dashboard
    3. Generate your new key
    4. Fill in your billing information

    <img src="https://mintcdn.com/create/gRjeYBLWcrADikTp/images/tripadvisor/checkout.png?fit=max&auto=format&n=gRjeYBLWcrADikTp&q=85&s=95c96f86db5f89b6e319a474b105ccb8" style={{ borderRadius: '0.5rem' }} width="2544" height="1422" data-path="images/tripadvisor/checkout.png" />
  </Step>

  <Step title="Get Your API Key">
    1. Once your billing is set, you'll receive your API key
    2. Copy the API key from your application details page

    <img src="https://mintcdn.com/create/gRjeYBLWcrADikTp/images/tripadvisor/apigen.png?fit=max&auto=format&n=gRjeYBLWcrADikTp&q=85&s=e2c1003334e8b9cc84f3641d85c8678a" style={{ borderRadius: '0.5rem' }} width="2038" height="672" data-path="images/tripadvisor/apigen.png" />

    <Warning>
      Keep your API key secure - it grants access to your TripAdvisor API quota
    </Warning>
  </Step>
</Steps>

## Add to Anything project

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

  <Step title="Add your API key">
    1. Paste your TripAdvisor API key into the "TRIPADVISOR\_API\_KEY" field

    <Tip>
      Need a new key? Generate one in your TripAdvisor developer dashboard.
    </Tip>
  </Step>

  <Step title="Use it">
    You can now use prompts with the integration to access travel information.

    Some examples:

    * `Find top-rated hotels in Paris using /TripAdvisor`
    * `Get restaurant reviews near me with /TripAdvisor`
    * `Create a travel guide app using /TripAdvisor`

    <Warning>
      The API limits how often your app can fetch data. If your app loads the same data often, ask the agent to save it locally so it doesn't re-fetch every time.
    </Warning>

    Example prompt for optimization:

    ```
    When using /TripAdvisor, save the location data so my app doesn't have to fetch it again
    ```
  </Step>
</Steps>

<Tip>
  Your TripAdvisor integration is now ready! Use the `/TripAdvisor` command in
  chat to access travel information.
</Tip>
