# How to implement signup as part of checkout flow

**URL:** <https://community.auth0.com/t/how-to-implement-signup-as-part-of-checkout-flow/80732>\
**Category:** Get Help\
**Tags:** signup, custom\
**Created:** [March 29, 2022, 7:27pm UTC](https://community.auth0.com/t/how-to-implement-signup-as-part-of-checkout-flow/80732 "2022-03-29T19:27:48Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![bakerue](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/bakerue/32/33298_2.png) [@bakerue](https://community.auth0.com/u/bakerue)\
**Post date:** [March 29, 2022, 7:27pm UTC](https://community.auth0.com/t/how-to-implement-signup-as-part-of-checkout-flow/80732/1 "2022-03-29T19:27:48Z")

</div>

Hello, here’s my usecase…

I have buyers filling out an order form on my website. During that flow, I would like to force them to signup so that I can enable in app chat feature between me and the buyer. So my question is, how to I make that happen, is there a standard pattern to follow? Can I embed the email and password fields for signup as part of my form and when user hits submit it registers the user and also submits the order form?

Im very confused 🙁

EDIT: its a NextJS app if that helps

Kevin

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [March 31, 2022, 12:11am UTC](https://community.auth0.com/t/how-to-implement-signup-as-part-of-checkout-flow/80732/3 "2022-03-31T00:11:45Z")

</div>

Hi @bakerue,

Welcome to the Auth0 Community!

I understand you have questions about implementing signup as part of your application’s checkout flow.

> [@bakerue](#):
>
> Can I embed the email and password fields for signup as part of my form and when user hits submit it registers the user and also submits the order form?

Yes, this is possible! To accomplish this, you could configure the submit button to call either the **Authentication API** [`/dbconnections/signup` endpoint](https://auth0.com/docs/api/authentication#signup) to create the users.

Or, you could use the **Management API** [Create a User endpoint](https://auth0.com/docs/api/management/v2#!/Users/post_users) to create the users.

Please let me know how this works for you.

Thank you.

---

<div class="post-metadata">

**Author:** ![bakerue](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/bakerue/32/33298_2.png) [@bakerue](https://community.auth0.com/u/bakerue)\
**Post date:** [April 4, 2022, 12:42am UTC](https://community.auth0.com/t/how-to-implement-signup-as-part-of-checkout-flow/80732/4 "2022-04-04T00:42:32Z")

</div>

Thanks for pointing me to the docs Rueben… What’s the difference between the 2 end points…is one preferred over the other?

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [April 4, 2022, 3:58pm UTC](https://community.auth0.com/t/how-to-implement-signup-as-part-of-checkout-flow/80732/5 "2022-04-04T15:58:47Z")

</div>

Hi @bakerue,

Thank you for your reply.

> [@bakerue](#):
>
> What’s the difference between the 2 end points…is one preferred over the other?

Behind the scenes, there is no difference between the two endpoints. Therefore, you could use either endpoint to create a user.

However, be aware that the Authentication API allows you to manage all aspects of user identity when using Auth0, such as endpoints for login, sign up, log out, access APIs, etc.

Whereas the Management API enables you to do everything from the Auth0 Dashboard and more through this API.

With that, I recommend using the Management API to create a user.

Hoped this helps!

Thank you.

---

<div class="post-metadata">

**Author:** ![bakerue](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/bakerue/32/33298_2.png) [@bakerue](https://community.auth0.com/u/bakerue)\
**Post date:** [April 5, 2022, 9:17am UTC](https://community.auth0.com/t/how-to-implement-signup-as-part-of-checkout-flow/80732/6 "2022-04-05T09:17:58Z")

</div>

Thank you Reuben. This certainly helps!

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [December 21, 2022, 3:37pm UTC](https://community.auth0.com/t/how-to-implement-signup-as-part-of-checkout-flow/80732/7 "2022-12-21T15:37:55Z")

</div>


