# PROFILE\_YML\_PATH / PROFILE

If you wish to connect your project to an external data warehouse or an open-source processing systems (PySpark), then you need to define the `PROFILE_YML_PATH` and `PROFILE` var in the `prism_project.py` file.

The `PROFILE_YML_PATH`  tells Prism the location of the profile YML configuration file. The default is a file called `profile.yml` in the project directory. The `PROFILE` variable tells Prism *which named profile* to use for the project.

```python
# prism_project.py

...
# Profile directory and name
PROFILE_YML_PATH = Path(__file__).parent / 'profile.yml'
PROFILE = "default"
...
```

More information on how to create and manage profiles can be found in the [profile](https://docs.runprism.com/v0.2.7/fundamentals/config-files/profile-yml) page.
