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

# get_auth_token

Integrationから取得したaccess\_tokenを取得します。

```python morph_lib.api theme={"dark"}
# 📦 Package: morph_lib.api
# 🛠️ Function: get_auth_token

def get_auth_token(
	connection: str
) -> str
```

### Parameters

<ParamField body="connection" type="str" required>
  画面で登録したIntegrationの名前を指定します。
</ParamField>

### Example

```python theme={"dark"}
import pandas as pd

import morph
from morph import MorphGlobalContext
from morph_lib.api import get_auth_token

@morph.func(
    name="freee_get_balance",
    description="Freee Preprocess",
    output_type="dataframe",
)
def freee_get_balance(context: MorphGlobalContext) -> pd.DataFrame:
    access_token = get_auth_token("salesforce_integration_name")

    # ↓↓↓ call API with access_token ↓↓↓
```
