To be able to use Pricefx Studio in IDEA, you need to have a configuration file.
To create a config file:
- Right click the project name and from the context menu select 'Create Pricefx configuration'.
- Fill in the environment, partition, URL, user name, password and TFA token (if TFA is enabled).
- Based on this data, a config file will be created. For example:
- If you need to add more environments and partitions, repeat the above steps.
Passwords Management
Since Pricefx Studio 6.0, all credentials for partitions you define in config.groovy are stored in the default IDEA password manager (KeePass for Windows and KeyChain for Mac).
One of the advantages of this approach is that you can now safely store config.groovy in a Git repository, since the plaintext passwords are no longer in the file.
How It Works
When you open a project in IDEA, config.groovy will get automatically migrated to the new structure​ (without the credentials).
After you push the config.groovy to Git and other colleagues access these partitions in Studio for the first time, they will get prompted to enter username and password.
If you change the password on the partition meanwhile, simply create the connection again (as described above in Step 1) with new credentials. Alternatively, you can change the password using KeePass or KeyChain.