# Seeding a new forum by creating users and content

**URL:** <https://meta.discourse.org/t/seeding-a-new-forum-by-creating-users-and-content/49345>\
**Category:** Product Support\
**Created:** [28.Август.2016 20:29:52 UTC](https://meta.discourse.org/t/seeding-a-new-forum-by-creating-users-and-content/49345 "2016-08-28T20:29:52Z")\
**Posts on this page:** 1\
**Showing post:** 14

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [19.Апрель.2017 14:58:40 UTC](https://meta.discourse.org/t/seeding-a-new-forum-by-creating-users-and-content/49345/14 "2017-04-19T14:58:40Z")

</div>

> [@pfaffman](#):
>
> I cannot imagine that the API for posts doesn’t include the userid.

> [@cpradio](#):
>
> The only username it will have is based on the API username and key I provide.

Ha! Now I get it. I guess I need a better imagination. Thanks, @cpradio.

So it would seem that the way to create seed data with many users would be to modify an [import script](https://github.com/discourse/discourse/tree/master/script/import_scripts). It’s probably easiest to get your data into MBOX form and use the [mbox importer](https://github.com/discourse/discourse/blob/master/script/import_scripts/mbox.rb).

---

_[View the full topic](https://meta.discourse.org/t/seeding-a-new-forum-by-creating-users-and-content/49345)._
