# Create a data bag item with the json file present on workstation

**URL:** <https://discourse.chef.io/t/create-a-data-bag-item-with-the-json-file-present-on-workstation/11901>\
**Category:** Chef Infra (archive)\
**Created:** [November 9, 2017, 6:52am UTC](https://discourse.chef.io/t/create-a-data-bag-item-with-the-json-file-present-on-workstation/11901 "2017-11-09T06:52:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![priyanshu](https://avatars.discourse-cdn.com/v4/letter/p/a9adbd/32.png) [@priyanshu](https://discourse.chef.io/u/priyanshu)\
**Post date:** [November 9, 2017, 6:52am UTC](https://discourse.chef.io/t/create-a-data-bag-item-with-the-json-file-present-on-workstation/11901/1 "2017-11-09T06:52:50Z")

</div>

If i need to create a data bag item with the json file already present on the workstation, how can i pass that json file to create the data bag item.  
what will be the command for this
