To be able to use Pricefx Studio in IDEA, you need to have a configuration file where you set up the partition to connect to and credentials. Single sign-on is also supported.
...
- Right click the project name and from the context menu select New > Create Pricefx partition.
- Fill in the environment, partition and URL.
Then decide on the authentication method – either based on credentials entered here or based on SSO.- If password based, enter the user name, password and TFA token (optional – if TFA is enabled).
- If SSO based, enter the name of the SAML configuration as is set up at the partition, click the 'Get SSO Token' button button and copy the generated token into the next field.
For password management, see below.
- 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.
- To test the connection, proceed to the next step Fetch Logics.
...
Note that there are listed only those partitions for which you have access assigned in PlatformManager.
- In IDEA go to Settings > Pricefx Studio.
- Fill in the PlatformManager username (your email) and set the token by clicking the 'Create token' button button.
- This will redirect you to PlatformManager where you need to:
- Log in.
- Go to your Profile Settings > Tokens.
- Click the Add icon and create a new token.
- Copy and save its value.
- Use this value back in IDEA Settings.
- Click OK and close the Settings.
- To test the connection, proceed to the next step Fetch Logics.
...
Since Pricefx Studio 6.0, all credentials for partitions you define in config.json are stored in the default IDEA password manager (KeePass for Windows and KeyChain for Mac). In these tools you will set up a master password and load all the configurations from IDEA. Then you get a screen where you can view and manage all the passwords.
One of the advantages of this approach is that you can now safely store config.json in a Git repository, since the passwords are no longer available in the file.
...
When you open an existing project in IDEA, config.json will get automatically migrated to the new structure (without the credentials).
After you push config.json to Git and other colleagues access these partitions in Studio for the first time, they will get prompted to enter username and password.
...