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

# Starter guide

> Learn how to use Luly’s API in under five minutes

### Creating a developer account

<img height="200" src="https://mintlify.s3.us-west-1.amazonaws.com/developersden/images/placeholder.png" />

To get started, sign up on the [developer portal](https://portal.luly.ai/).

Enter your phone number and verification code. Finally, once your developer portal loads, go to the `Send phone call` page.

### Sending your first phone call

<img height="200" src="https://mintlify.s3.us-west-1.amazonaws.com/developersden/images/placeholder.png" />

Although Luly is an API-first platform, the send phone call page provides a simple interface for quickly testing calls. On the left side you can adjust the call options and on the right hand side you can see how the code updates.

Once you’re satisfied with a call, copy the code on the right side (in Javascript, Python, or cURL) and add it to your application.

<Steps>
  <Step title="Enter your phone number">
    In the `Phone Number` field,enter your own phone number.
  </Step>

  <Step title="Write your prompt">
    For the task box either select one of the example prompts or write your own.
    For more instrucionts about prompting your AI phone agent, read this [blog
    post](https://www.luly.ai/blog/prompting-guide-ai-phone-calls)
  </Step>

  <Step title="Send the call">
    Scroll to the bottom of the page, and press the `Send call` button. Note
    calls are charged at \$0.12/minute, billed to the exact second.
  </Step>
</Steps>

To send a phone call programatically, read the [API reference.](https://docs.luly.ai/api-v1/post/calls)

### Testing your phone agent

<img height="200" src="https://mintlify.s3.us-west-1.amazonaws.com/developersden/images/placeholder.png" />

Once you’ve sent your first phone call, the next step is to test and improve the outputs from your phone agent.

One way to test your agent is to send yourself test calls. A faster way, however, is to use the Luly AI testing suite.

<Steps>
  <Step title="Set up the test suite">
    Select the model and language and insert your current prompt into the task
    box.
  </Step>

  <Step title="Write a message">
    Start messaging your phone agent. Act like you’re the person receiving the
    call, and purposefully ask edge-case questions to throw the phone agent off.
  </Step>

  <Step title="Update the prompt">
    Based on the responses you receive, update the instructions in the prompt.
  </Step>
</Steps>

### Next Steps

You now know how to send and test phone calls, but you’ve only scratched the surface of Luly’s capabilties.

Areas for further exploration:

<CardGroup cols={2}>
  <Card title="API Reference" icon="palette" href="https://portal.luly.ai/">
    Read the API reference.
  </Card>

  <Card title="Custom tools" icon="code" href="https://portal.luly.ai/">
    Creating custom tools for interacting with external APIs, live, during phone
    calls.
  </Card>

  <Card title="Prompting guide" icon="screwdriver-wrench" href="https://portal.luly.ai/">
    Learn how to prompt the exact behavior you want from your phone agent.
  </Card>

  <Card title="Join the community" icon="stars" href="https://portal.luly.ai/">
    See what people are building on Luly and get support from other users.
  </Card>
</CardGroup>
