# Distributed config

**URL:** <https://community.shotgridsoftware.com/t/distributed-config/10979>\
**Category:** Pipeline Integrations\
**Created:** [December 10, 2020, 1:22am UTC](https://community.shotgridsoftware.com/t/distributed-config/10979 "2020-12-10T01:22:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mharris](https://sea1.discourse-cdn.com/shotgunsoftware/user_avatar/community.shotgridsoftware.com/mharris/32/2644_2.png) [@mharris](https://community.shotgridsoftware.com/u/mharris)\
**Post date:** [December 10, 2020, 1:22am UTC](https://community.shotgridsoftware.com/t/distributed-config/10979/1 "2020-12-10T01:22:46Z")

</div>

Hello,

When using a distributed Toolkit config uploaded to SG as a zip file, the contents are downloaded to:

…/Roaming/Shotgun/bundle\_cache/sg/{site}/v######/.

Is there a Python command in sgtk to get the value of this config location on disk? Because the v###### is the entity ID of the uploaded config, I do not want to hard code this value as it changes with each upload.

---

<div class="post-metadata">

**Author:** ![philip.scadding](https://sea1.discourse-cdn.com/shotgunsoftware/user_avatar/community.shotgridsoftware.com/philip.scadding/32/30_2.png) [@philip.scadding](https://community.shotgridsoftware.com/u/philip.scadding)\
**Post date:** [December 10, 2020, 11:12am UTC](https://community.shotgridsoftware.com/t/distributed-config/10979/2 "2020-12-10T11:12:55Z")

</div>

This might help?

> [@Tk-maya read another config rather than uploaded config?](https://community.shotgridsoftware.com/t/tk-maya-read-another-config-rather-than-uploaded-config/10268/2):
>
> Hi @johnnyzxt! Checking the Cache So first off [this link](https://developer.shotgunsoftware.com/7c9867c0/) can help you find your cache folder on mac. What happens when using an uploaded config, is that you will have a cached pipeline\_configuration.yml file stored in: /Users/{UserName}/Library/Caches/Shotgun/{YourSiteName}/p{Project ID}c{PipelineConfiguration ID}.basic.maya/cfg/config/core/install\_location.yml In that file it should have a line that looks a bit like this: source\_descriptor: {entity\_type: PipelineConfiguration, field: upl…

The question is a bit different but I provided a way of checking the path.

---

<div class="post-metadata">

**Author:** ![mharris](https://sea1.discourse-cdn.com/shotgunsoftware/user_avatar/community.shotgridsoftware.com/mharris/32/2644_2.png) [@mharris](https://community.shotgridsoftware.com/u/mharris)\
**Post date:** [December 10, 2020, 12:55pm UTC](https://community.shotgridsoftware.com/t/distributed-config/10979/3 "2020-12-10T12:55:24Z")

</div>

This worked perfect, thanks!

```
import sgtk
engine = sgtk.platform.current_engine()
engine.sgtk.configuration_descriptor.get_path()
```
