# Configure RStudio® license Code Workspaces uses RStudio® Workbench, which requires a corresponding operational license. To enable RStudio® Workbench, Organization administrators should first reach out to Posit™ to either obtain a Posit™ Workbench license for Foundry or to confirm that an existing license is sufficient. The license must then be added to Foundry so that the application can be whitelisted. :::callout{theme="warning"} If you renewed or upgraded an existing RStudio® license, ensure uninterrupted access to your existing workspaces by updating the corresponding license in Foundry instead of creating a new one. The last validated license remains in effect until your update has been validated by Posit™. ::: ## Add RStudio® license To add an RStudio® license to Foundry, follow the instructions below: 1. Navigate to the **License management** section in Control Panel. ![License management section](../../../assets/5d1d07b4d98b2681c4d11bb89cbb9a6fabeb992af4ce10e66c633a6644ebca6a.webp) 2. Provide information about the license (license key, number of named users, expiry date). ![License information](../../../assets/cb3b8ac91af7b50aa405443bc6a2de70e1d352914600a5d6b76102659d58033a.webp) 3. Follow the prompt to contact both Posit™ and Palantir to have the license whitelisted. ![Contact for whitelisting license](../../../assets/baeefcd236833571450220d7a647dcc65559df36586d4dea419a26a61b75ccf5.webp) 4. Once Posit™ confirms the specified license information is accurate and operational, Palantir will whitelist the license and enable RStudio® Code Workspaces in Foundry. Foundry does not validate the license information but requires confirmation from Posit™ that it can be used. Foundry manages the license internally; if all the license seats have been used, the next new user will not be allowed to launch RStudio® in Foundry. To release the license seat assigned to a user who has offboarded from your organization, contact Palantir Support. Access to a given license can be restricted to a subset of user groups from **License management**. ![License approval pop-up displaying "currently pending approval from RStudio®" message](../../../assets/3cca54e1f8c8b67be1dccb3176a46e2295a0bf008f2ac6338277d06be279644e.webp) *** RStudio® and Shiny® are trademarks of Posit™. All third-party trademarks (including logos and icons) referenced remain the property of their respective owners. No affiliation or endorsement is implied.