# What's the Primero development setup pre-seeded username/password

**URL:** <https://primero.supporthub.dev/forum/t/whats-the-primero-development-setup-pre-seeded-username-password/640>\
**Category:** Primero IMS\
**Created:** [November 27, 2022, 3:07pm UTC](https://primero.supporthub.dev/forum/t/whats-the-primero-development-setup-pre-seeded-username-password/640 "2022-11-27T15:07:46Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jinsthomas](https://primero.supporthub.dev/forum/letter_avatar_proxy/v4/letter/j/bc8723/32.png) [@jinsthomas](https://primero.supporthub.dev/forum/u/jinsthomas)\
**Post date:** [November 27, 2022, 3:07pm UTC](https://primero.supporthub.dev/forum/t/whats-the-primero-development-setup-pre-seeded-username-password/640/1 "2022-11-27T15:07:46Z")

</div>

Hello Primero Community,

What’s the default password for primero development setup , I tried `primero` /`primer0!` but it didn’t work.

I was able to manage the primero dev setup but password is not working for me.

 ![image](https://primero.supporthub.dev/forum/uploads/primero/original/1X/b0d7847c43f85177b7ad1a7f4565b6f9eecbb809.jpeg)

---

<div class="post-metadata">

**Author:** ![childprotectioninnov](https://primero.supporthub.dev/forum/letter_avatar_proxy/v4/letter/c/e8c25b/32.png) [@childprotectioninnov](https://primero.supporthub.dev/forum/u/childprotectioninnov)\
**Post date:** [December 1, 2022, 5:03pm UTC](https://primero.supporthub.dev/forum/t/whats-the-primero-development-setup-pre-seeded-username-password/640/2 "2022-12-01T17:03:48Z")

</div>

Hi Jins, could you have a look at this? [Problem with a preseeded admin account credentials · Issue #145 · primeroIMS/primero · GitHub](https://github.com/primeroIMS/primero/issues/145)

---

<div class="post-metadata">

**Author:** ![jinsthomas](https://primero.supporthub.dev/forum/letter_avatar_proxy/v4/letter/j/bc8723/32.png) [@jinsthomas](https://primero.supporthub.dev/forum/u/jinsthomas)\
**Post date:** [December 5, 2022, 7:30pm UTC](https://primero.supporthub.dev/forum/t/whats-the-primero-development-setup-pre-seeded-username-password/640/3 "2022-12-05T19:30:49Z")

</div>

Dear @childprotectioninnov Thanks Actually i tried the latest version [Release v2.5.3 - 31 November 2022 · primeroIMS/primero · GitHub](https://github.com/primeroIMS/primero/releases/tag/v2.5.3) and still have this issue.

I tried `mkinstall` for my mac which should have installed SSL certificate for my localhost i guess. Did i miss anything?

---

<div class="post-metadata">

**Author:** ![irlawrence](https://primero.supporthub.dev/forum/user_avatar/primero.supporthub.dev/irlawrence/32/8_2.png) [@irlawrence](https://primero.supporthub.dev/forum/u/irlawrence)\
**Post date:** [December 6, 2022, 5:18pm UTC](https://primero.supporthub.dev/forum/t/whats-the-primero-development-setup-pre-seeded-username-password/640/4 "2022-12-06T17:18:29Z")

</div>

Maybe try adding it in ruby?

Find an Agency and role. This example uses UNICEF

```auto
unicef = Agency.find_by(agency_code: 'UNICEF')
role = Role.find_by_name('Superuser')

```

Then add the superuser

```auto
User.create_or_update!({
	'user_name' => 'some_user_name',
	'password' => 'some_password',
	'password_confirmation' => 'some_password',
	'full_name' => 'My Name',
	'email' => 'me@myemail.com',
	'disabled' => 'false',
	'agency_id' => Agency.find_by(unique_id: 'UNICEF').id,
	'role_id' => Role.find_by_name('Superuser').id,
	'user_groups' => UserGroup.all,
	'locale' => Primero::Application::LOCALE_ENGLISH
	})

```

---

<div class="post-metadata">

**Author:** ![jinsthomas](https://primero.supporthub.dev/forum/letter_avatar_proxy/v4/letter/j/bc8723/32.png) [@jinsthomas](https://primero.supporthub.dev/forum/u/jinsthomas)\
**Post date:** [December 7, 2022, 7:35pm UTC](https://primero.supporthub.dev/forum/t/whats-the-primero-development-setup-pre-seeded-username-password/640/5 "2022-12-07T19:35:32Z")

</div>

Thank you so much @irlawrence & @childprotectioninnov , I’m now able to sort this out. Noting this down incase if it helps for future users.

Because of three columns missing in system\_settings table my command `rails db:seed` didn’t run correctly and hence no users were created which i didn’t notice till you give me a hint to create the users.

I created these columns manually, thanks for the hint in this post [here](https://primero.supporthub.dev/forum/t/self-hosting-primero-v2-issue-with-primero-application-container/608/3)

After that i re-ran `rails db:seed` & were able to use primero/primer0! credentials itself

 ![image](https://primero.supporthub.dev/forum/uploads/primero/original/1X/dfd6a9dceb3de5489767ea8691a12c693134af06.png)
