# Unable to save new file or edit example files

**URL:** <https://discourse.getdbt.com/t/unable-to-save-new-file-or-edit-example-files/9809>\
**Category:** Help\
**Tags:** snowflake, dbt-cloud\
**Created:** [September 1, 2023, 11:44am UTC](https://discourse.getdbt.com/t/unable-to-save-new-file-or-edit-example-files/9809 "2023-09-01T11:44:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Saqlain](https://avatars.discourse-cdn.com/v4/letter/s/8dc957/32.png) [@Saqlain](https://discourse.getdbt.com/u/Saqlain)\
**Post date:** [September 1, 2023, 11:44am UTC](https://discourse.getdbt.com/t/unable-to-save-new-file-or-edit-example-files/9809/1 "2023-09-01T11:44:35Z")

</div>

## I Have signed up and connected my dbt with snowflake. while creating new sql file and the “save as option is gray” and i cannot save file.

similarly if i try to edit example files in side of models i can not edit them as it says “cannot edit in read only mode”

Please help me to save files

---

<div class="post-metadata">

**Author:** ![Saqlain](https://avatars.discourse-cdn.com/v4/letter/s/8dc957/32.png) [@Saqlain](https://discourse.getdbt.com/u/Saqlain)\
**Post date:** [September 1, 2023, 11:46am UTC](https://discourse.getdbt.com/t/unable-to-save-new-file-or-edit-example-files/9809/2 "2023-09-01T11:46:53Z")

</div>

I am using this tutorial [[Courses - Sign In | dbt Learn](https://courses.getdbt.com/courses/take/fundamentals/texts/43380412-setting-up-dbt-cloud-and-your-data-platform)]([https://dbt](https://dbt) fundamentals)

---

<div class="post-metadata">

**Author:** ![carlosolocha029](https://sea2.discourse-cdn.com/flex020/user_avatar/discourse.getdbt.com/carlosolocha029/32/3122_2.png) [@carlosolocha029](https://discourse.getdbt.com/u/carlosolocha029)\
**Post date:** [October 18, 2023, 10:02pm UTC](https://discourse.getdbt.com/t/unable-to-save-new-file-or-edit-example-files/9809/3 "2023-10-18T22:02:03Z")

</div>

Hi there 👋

From what I could find, this happens because you are in the main branch (which is read-only), to solve this you need to create a new branch first.
