# Editor P4CONFIG

**URL:** <https://forums.unrealengine.com/t/editor-p4config/1585856>\
**Category:** Getting Started & Setup\
**Tags:** unreal-engine, editor, Perforce\
**Created:** [January 3, 2024, 10:24pm UTC](https://forums.unrealengine.com/t/editor-p4config/1585856 "2024-01-03T22:24:16Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![nic0l\_as](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@nic0l\_as](https://forums.unrealengine.com/u/nic0l_as)\
**Post date:** [July 5, 2024, 1:10pm UTC](https://forums.unrealengine.com/t/editor-p4config/1585856/6 "2024-07-05T13:10:21Z")

</div>

By adding [YourProject]\Saved\Config\WindowsEditor\SourceControlSettings.ini to Perforce, it should be automatically setup.

Just keep inside

```auto
[PerforceSourceControl.PerforceSourceControlSettings]
UseP4Config=True

[SourceControl.SourceControlSettings]
Provider=Perforce

```

> [@How to connect to Perforce from a command line or maybe a setting?](https://forums.unrealengine.com/t/how-to-connect-to-perforce-from-a-command-line-or-maybe-a-setting/412154/2):
>
> This can be done by adding a file \Saved\Config\Windows\SourceControlSettings.ini with content like this: [SourceControl.SourceControlSettings] Provider=Perforce [PerforceSourceControl.PerforceSourceControlSettings] Port=\<server\_address:port\> UserName=\<usename\> Workspace=\<workspace\>

---

_[View the full topic](https://forums.unrealengine.com/t/editor-p4config/1585856)._
