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

# connect • AI Agent SDK

> connect: Establish the platform connection.

# connect

AsyncMethod

> This is a method of the [**BasePlatformAdapter**](https://praison.ai/docs/sdk/reference/praisonaiagents/classes/BasePlatformAdapter.md) class in the [**base**](https://praison.ai/docs/sdk/reference/praisonaiagents/modules/base.md) module.

Establish the platform connection.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
async def connect() -> bool
```

### Returns

**Returns** `bool`

True if the connection was established successfully.

## Used By

* [`RealtimeAgent.aconnect`](../functions/RealtimeAgent-aconnect)
* [`BasePlatformAdapter.start`](../functions/BasePlatformAdapter-start)
* [`BasePlatformAdapter.probe`](../functions/BasePlatformAdapter-probe)

## Source

> [card] [View on GitHub](https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/bots/base.py#L499)
>
> `praisonaiagents/bots/base.py` at line 499


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