> For the complete documentation index, see [llms.txt](https://docs.sov.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sov.ai/api-reference/basic-auth.md).

# Basic Auth

**Module:** `sovai.basic_auth`

## Functions

### `basic_auth()`

```python
def basic_auth(email: str, password: str) -> bool
```

The basic authentication method retrieves the token from the API server and stores it in the ApiConfig and .env file in the root directory

**Returns:** `bool`

***
