# Get Acess token in java using the Java SDK

**URL:** <https://discuss.dwolla.com/t/get-acess-token-in-java-using-the-java-sdk/8584>\
**Category:** General\
**Created:** [November 30, 2022, 4:53am UTC](https://discuss.dwolla.com/t/get-acess-token-in-java-using-the-java-sdk/8584 "2022-11-30T04:53:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Elliot\_John](https://sea2.discourse-cdn.com/dwolla/user_avatar/discuss.dwolla.com/elliot_john/32/3704_2.png) [@Elliot\_John](https://discuss.dwolla.com/u/Elliot_John)\
**Post date:** [November 30, 2022, 4:53am UTC](https://discuss.dwolla.com/t/get-acess-token-in-java-using-the-java-sdk/8584/1 "2022-11-30T04:53:30Z")

</div>

Hello how can i get the access token using the java sdk? I can’t see it on the documentation all i can see on how to set it up but to get the access token is not there.

Dwolla dwolla = new Dwolla(DWOLLA\_CLIENT\_ID, DWOLLA\_CLIENT\_SECRET, DwollaEnvironment.SANDBOX);

---

<div class="post-metadata">

**Author:** ![shreya](https://sea2.discourse-cdn.com/dwolla/user_avatar/discuss.dwolla.com/shreya/32/2154_2.png) [@shreya](https://discuss.dwolla.com/u/shreya)\
**Post date:** [December 2, 2022, 4:14pm UTC](https://discuss.dwolla.com/t/get-acess-token-in-java-using-the-java-sdk/8584/2 "2022-12-02T16:14:05Z")

</div>

Hi @Elliot_John – Are you using out [Kotlin SDK](https://github.com/Dwolla/dwolla-v2-kotlin) with support for Java? If so, then the library handles token creation and token management for you! You just need to create an instance of `Dwolla`, like you’re doing above, and you should be able to make calls to the api with it!

Hope that helps! Let us know if you run into errors!
