# Https://auth0.com/authenticate/android/firebase : step 4 is not clear

**URL:** <https://community.auth0.com/t/https-auth0-com-authenticate-android-firebase-step-4-is-not-clear/6345>\
**Category:** Get Help\
**Tags:** documentation\
**Created:** [April 25, 2017, 12:21am UTC](https://community.auth0.com/t/https-auth0-com-authenticate-android-firebase-step-4-is-not-clear/6345 "2017-04-25T00:21:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zohra\_Khan](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@Zohra\_Khan](https://community.auth0.com/u/Zohra_Khan)\
**Post date:** [April 25, 2017, 12:21am UTC](https://community.auth0.com/t/https-auth0-com-authenticate-android-firebase-step-4-is-not-clear/6345/1 "2017-04-25T00:21:05Z")

</div>

[Auth0 Documentation - Auth0 Docs](https://auth0.com/authenticate/android/firebase) in this link step 4 is not clear .  
Call the Delegation endpoint from Auth0 to get a token for Firebase API

```
curl --data \
 "client_id=YOUR_CLIENT_ID&\
 &grant_type=urn:ietf:params:oauth:grant-type:jwt-bearer\
 &refresh_token=\
 &scope=open_id\
 &api_type=firebase"\
 https://YOUR_ACCOUNT.auth0.com/delegation

```

Where do I have to write this command?

---

<div class="post-metadata">

**Author:** ![jmangelo](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jmangelo/32/7923_2.png) [@jmangelo](https://community.auth0.com/u/jmangelo)\
**Post date:** [May 17, 2017, 5:57pm UTC](https://community.auth0.com/t/https-auth0-com-authenticate-android-firebase-step-4-is-not-clear/6345/2 "2017-05-17T17:57:42Z")

</div>

The link you mentioned is just a general page about the possibility of integrating Android and Firebase.

For reference information on delegation and how to obtain the tokens see ([Delegation Tokens](https://auth0.com/docs/tokens/delegation)). In general, the delegation request you mentioned needs to be performed from within your client application.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [March 2, 2018, 5:53am UTC](https://community.auth0.com/t/https-auth0-com-authenticate-android-firebase-step-4-is-not-clear/6345/3 "2018-03-02T05:53:28Z")

</div>


