Go to Credential Gateway from the sidebar. Select the datasource, enter the credentials, and click Test Connection. If the test passes, the Save to Vault button appears — click it to save the credentials. The vault path is automatically synced back to the datasource configuration.