# Preauth state to accepted state

**URL:** <https://hub.mender.io/t/preauth-state-to-accepted-state/7015>\
**Category:** General Discussions\
**Created:** [July 12, 2024, 4:43am UTC](https://hub.mender.io/t/preauth-state-to-accepted-state/7015 "2024-07-12T04:43:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![sahithi](https://avatars.discourse-cdn.com/v4/letter/s/90ced4/32.png) [@sahithi](https://hub.mender.io/u/sahithi)\
**Post date:** [July 12, 2024, 4:43am UTC](https://hub.mender.io/t/preauth-state-to-accepted-state/7015/1 "2024-07-12T04:43:04Z")

</div>

We are creating IoTEdge devices form a 3rd party dashboard, and using preauth API we are able to get the device in preauth state([https://hosted.mender.io](https://hosted.mender.io)).  
Now we want to accept the device in hosted mender. How can this be done, any help would be appreciated.

---

<div class="post-metadata">

**Author:** ![TheYoctoJester](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/theyoctojester/32/1444_2.png) [@TheYoctoJester](https://hub.mender.io/u/TheYoctoJester)\
**Post date:** [July 12, 2024, 7:49am UTC](https://hub.mender.io/t/preauth-state-to-accepted-state/7015/2 "2024-07-12T07:49:44Z")

</div>

Hi @sahithi,

The preauthentication flow is described here: [Preauthorizing devices | Mender documentation](https://docs.mender.io/server-integration/preauthorizing-devices)

By using the API you create devices in the pre authenticated state, and once they connect with the prepared identity and key they are moved to accepted.

Greets,  
Josef

---

<div class="post-metadata">

**Author:** ![sahithi](https://avatars.discourse-cdn.com/v4/letter/s/90ced4/32.png) [@sahithi](https://hub.mender.io/u/sahithi)\
**Post date:** [July 15, 2024, 6:37am UTC](https://hub.mender.io/t/preauth-state-to-accepted-state/7015/3 "2024-07-15T06:37:55Z")

</div>

HI @TheYoctoJester ,

Thanks for the response, we are not able to accept the device now. but we cant see device configuration, Inventory details. requesting your input on this.

---

<div class="post-metadata">

**Author:** ![TheYoctoJester](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/theyoctojester/32/1444_2.png) [@TheYoctoJester](https://hub.mender.io/u/TheYoctoJester)\
**Post date:** [July 15, 2024, 8:38am UTC](https://hub.mender.io/t/preauth-state-to-accepted-state/7015/4 "2024-07-15T08:38:43Z")

</div>

Hi @sahithi,

In a nutshell: just wait, it’s the polling cycle in effect, plus the refresh of the web dashboard. If you have a long inventory update polling cycle configured but want to do a first inventory update early, then you can use the `mender-update send-inventory` command. See also: [Polling intervals | Mender documentation](https://docs.mender.io/client-installation/configuration-file/polling-intervals)

Greets,  
Josef
