# Step 2: Obtain access credentials

Before calling the Feishu open platform interface, you need to obtain the access token (access_token) of the corresponding application. Access credentials represent that the application is authorized by the platform, tenant, and user. In this article, you will use the API debugging console to obtain the access token **tenant_access_token** of the self-built application, and the user access token **user_access_token**.
The custom app in this tutorial has been switched to a test version, so only the **creator** or **tester** account of the test company has permission to access the application and call the API.

## Procedure

1. Open the [API Explorer](https://open.feishu.cn/api-explorer), click **Switch App** in the upper left corner of the page, and select the created application.

![](//sf3-cn.feishucdn.com/obj/open-platform-opendoc/5779ebd04b332aef04487c8fced5a9c7_Hf9yqC4IOW.png?height=1534&lazyload=true&maxWidth=600&width=2882)

2. In the **View authentication tokens** area on the left, obtain the application’s **tenant_access_token** and the user’s **user_access_token**.

![](//sf3-cn.feishucdn.com/obj/open-platform-opendoc/474f1e502b7d55e4c66ac634af9e5ee1_QqVOwP8jSt.png?height=818&lazyload=true&maxWidth=600&width=2882)