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

# Agent Setup

> Understand the parts of a Phonely agent and where to configure each one.

Agent Setup brings together the shared parts of one agent: how it sounds, how it should behave, what it knows, and the settings that apply across its calls. The agent's flows then determine what happens before, during, and after each call.

> [!TIP]
>
> If you completed onboarding, start with the agent and starter flow Phonely created for you. You do not need to create another agent to begin configuring it.

## Understand the parts of an agent

| Area | Use it to |
| :- | :- |
| [**Voice**](https://docs.phonely.ai/agent-design/voice/overview.md) | Choose how the agent sounds and [which languages it handles](https://docs.phonely.ai/agent-design/voice/overview.md#choose-languages-for-your-agent) |
| [**Guidelines**](https://docs.phonely.ai/agent-design/guidelines.md) | Define shared objectives, response style, and boundaries |
| [**Knowledge Base**](https://docs.phonely.ai/agent-knowledge-base/overview.md) | Provide documents, websites, and calls the agent can use as knowledge |
| [**Flows**](https://docs.phonely.ai/key-concepts/flows.md) | Control the conversation, routing, data collection, and actions |
| **Settings** | Manage the agent's identity, phone numbers, call behavior, compliance, and other agent-wide controls |

Voice, Guidelines, Knowledge Base sources, and Settings are configured for the agent. Flows belong to that agent and control individual call paths.

## How flows use shared configuration

An agent can have multiple flows, but they use the same agent-level configuration. Each flow can decide whether to include the agent's Guidelines and which uploaded documents or websites it can reference.

Use [Flow Settings](https://docs.phonely.ai/flow-editor/flow-settings.md) to control those choices for one flow. Put instructions that apply only to one part of a call in that flow or block instead of adding them to the agent's shared Guidelines.

## Open Agent Settings

In **Agent Design**, select **Settings**. From there, you can update the agent name and primary number, duplicate or delete the agent, and open these settings areas:

| Area | Use it for |
| :- | :- |
| **Call Settings** | Call-wide timing and behavior |
| **Phone Numbers** | The agent's phone numbers and blocked numbers |
| **Compliance** | Recording and compliance controls |
| **Analytics** | Analytics Fields (including call topics on agents that already use them), sentiment definitions, [Opportunity Analysis](https://docs.phonely.ai/call-history/overview.md#understand-why-callers-left-early), and API-recorded outcomes |
| **Advanced** | Specialized behavior that normally does not need to change during initial setup |

Start with the defaults unless a business requirement calls for something different. Before handling real calls, confirm the phone number, timezone, recording, and compliance settings required for your use case.

### Block or unblock a phone number

To stop a number from contacting the agent, open **Agent Design > Settings > Phone Numbers** with edit access to the agent.

1. Under **Blocked Phone Numbers**, enter the full phone number, including its country code.
2. Select **Block**. The number appears in the list after the change saves.
3. To allow a blocked number again, select the trash icon in its row to unblock it.

Each block or unblock saves separately. To replace a number, unblock the old number and block the replacement. If a save fails, the field or row shows the error; correct the problem and retry.

An older entry flagged as missing its country code does not match incoming calls. Replace it with the full number to make the block effective.

## Recommended setup order

1. Review the agent created during onboarding.
2. Choose a Voice and define the agent's Guidelines.
3. Add only the knowledge sources the agent needs.
4. Review the starter flow and adjust its conversation and actions.
5. Review Agent Settings, then publish and test the flow before using it for live calls.

For the complete first-call process, follow [Quick Start](https://docs.phonely.ai/get-started/quick-start.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.