# Creating a Company Owner User, and Company, both during registration

**URL:** <https://forum.adalo.com/t/creating-a-company-owner-user-and-company-both-during-registration/36906>\
**Category:** Database\
**Created:** [March 4, 2023, 8:19pm UTC](https://forum.adalo.com/t/creating-a-company-owner-user-and-company-both-during-registration/36906 "2023-03-04T20:19:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![john.testing](https://avatars.discourse-cdn.com/v4/letter/j/50afbb/32.png) [@john.testing](https://forum.adalo.com/u/john.testing)\
**Post date:** [March 4, 2023, 8:19pm UTC](https://forum.adalo.com/t/creating-a-company-owner-user-and-company-both-during-registration/36906/1 "2023-03-04T20:19:13Z")

</div>

I am creating an app that has a Users table (full of owners, and customers).

Its currently set up to have a separate onboarding for Owners (which automatically sets them to an owner account). there is an “IsOwner?” Column in the user table.

I need to know how to have a company created and the owner account at sign up.

I think the company has to “exist” before a user can be created, because users have to have a company. I’m just not sure the best way to do this.

Ideally I want to ask a user to enter their “USER” information, click sign up, then in the next screen create a “COMPANY”, then assign that user to that company as an Owner.

Then once they create the company, they are dropped on a dashboard that is associated with the new company that they just created, and they are the admin of.

---

<div class="post-metadata">

**Author:** ![Yongki](https://avatars.discourse-cdn.com/v4/letter/y/7c8e57/32.png) [@Yongki](https://forum.adalo.com/u/Yongki)\
**Post date:** [March 4, 2023, 10:12pm UTC](https://forum.adalo.com/t/creating-a-company-owner-user-and-company-both-during-registration/36906/2 "2023-03-04T22:12:26Z")

</div>

Hi @john.testing ,

Company collection need to be presented as list.

Ask user for the code of the company, so only certain users know that, then use make-list button to filter that, once click this button will update the users collection with company field.

---

<div class="post-metadata">

**Author:** ![john.testing](https://avatars.discourse-cdn.com/v4/letter/j/50afbb/32.png) [@john.testing](https://forum.adalo.com/u/john.testing)\
**Post date:** [March 5, 2023, 12:39am UTC](https://forum.adalo.com/t/creating-a-company-owner-user-and-company-both-during-registration/36906/3 "2023-03-05T00:39:10Z")

</div>

Thank you for your reply Yongki -

In that instance - the Company would already exist.

Ideally i’d like to have the owner onboard as a user, and create a profile for their company that does not exist yet.

Is this possible, or will i always have to manually premake the company in the company table?

---

<div class="post-metadata">

**Author:** ![loneguy](https://avatars.discourse-cdn.com/v4/letter/l/97f17d/32.png) [@loneguy](https://forum.adalo.com/u/loneguy)\
**Post date:** [March 5, 2023, 1:51am UTC](https://forum.adalo.com/t/creating-a-company-owner-user-and-company-both-during-registration/36906/4 "2023-03-05T01:51:03Z")

</div>

A multistep sign up process should work. Step 1 the user is created and logged in. Step 2 the company is created and the logged in user is added to it.
