# Account selection automation while creating OAuth2 App

**URL:** <https://community.hubspot.com/t/account-selection-automation-while-creating-oauth2-app/79186>\
**Category:** APIs & Integrations\
**Tags:** crm\
**Created:** [April 12, 2023, 3:41pm UTC](https://community.hubspot.com/t/account-selection-automation-while-creating-oauth2-app/79186 "2023-04-12T15:41:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![AK5628](https://avatars.discourse-cdn.com/v4/letter/a/a183cd/32.png) [@AK5628](https://community.hubspot.com/u/AK5628)\
**Post date:** [April 12, 2023, 3:41pm UTC](https://community.hubspot.com/t/account-selection-automation-while-creating-oauth2-app/79186/1 "2023-04-12T15:41:26Z")

</div>

I am creating an OAuth2 connection, and I have various sub accounts associated with different teams. I help with need a way to automate the selection during the same

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [April 13, 2023, 3:47pm UTC](https://community.hubspot.com/t/account-selection-automation-while-creating-oauth2-app/79186/2 "2023-04-13T15:47:02Z")

</div>

Hey, @AK5628 👋 You’re not missing an option. The user will always be presented with a list of available accounts during the authorization process, and it is not possible to automate the selection of a specific portal or force it programmatically.

Best,

Jaycee
