Viewing Claude Compliance Data in RAD Studio Data Explorer

Dibyendu Datta
Dibyendu Datta
Lead Technology Evangelist
How to view Claude Compliance data in RAD Studio Data Explorer using the CData ODBC Driver for Claude Compliance.

Embarcadero RAD Studio provides a development environment for Delphi and C++Builder applications. With the CData ODBC Driver for Claude Compliance, you gain access to live Claude Compliance data within RAD Studio, abstracting the data into tables, views, and stored procedures that can be used to both retrieve Claude Compliance data. This article will walk through connecting to Claude Compliance using the Data Explorer.

Configure a Connection to Claude Compliance

If you have not already, first specify connection properties in an ODBC DSN (data source name). This is the last step of the driver installation. You can use the Microsoft ODBC Data Source Administrator to create and configure ODBC DSNs.

The driver connects to Claude Compliance using a Compliance Access Key, the only supported authentication method. Set the following connection property:

  • APIKey: The Compliance Access Key you created.

Creating a Compliance Access Key

  1. Enable the Compliance API for your organization.
  2. Sign in to claude.ai as a primary owner or organization owner and open Organization settings > API > Keys.
  3. Select Create Key and assign only the scopes your integration needs:
    • read:compliance_activities for Activities and the typed activity views.
    • read:compliance_org_data for organizations, roles, groups, and settings.
    • read:compliance_user_data for users, chats, files, projects, and downloads.
    • delete:compliance_user_data for the explicit Delete stored procedures.
  4. Create the key and copy it when it appears. The key starts with sk-ant-api01- and is shown only once.

Optionally, set OrganizationUUID to limit organization-scoped views (such as OrganizationUsers and ComplianceRoles) to a single linked organization. If it is left empty, those views default to the first available organization and do not include data from all linked organizations.

Connecting to Claude Compliance Data Using Data Explorer

You can create a simple application for displaying Claude Compliance data by utilizing the CData FireDAC Components for Claude Compliance and a new VCL Forms Application:

  1. Open the Data Explorer in RAD Studio and expand FireDAC.
  2. Right-click the ODBC Data Source node in the Data Explorer.
  3. Click Add New Connection. Adding a New Connection. (Salesforce is shown.)
  4. Enter a name for the connection.
  5. In the FireDAC Connection Editor that appears, set the DataSource property to the name of the ODBC DSN for Claude Compliance. Setting the Connection Parameters. (Salesforce is shown.)
  6. Back in the Data Explorer, expand the views for the connection.
  7. Create a new VCL Forms application and drag a view (for example: Projects) onto the form.

    Placing the View on the Form. (Salesforce is shown.)
  8. Select the ProjectsView object on the form and set the Active property to true.
  9. Right-click on the object, bind visually, and link everything (*) to a new control (TStringGrid).

    Visually Binding the View. (Salesforce is shown.)
  10. Arrange the TStringGrid on the form and run the application to see the Projects data.

    The View data on a Form. (Salesforce is shown.)

Related Articles

Below you can find other articles for using the CData ODBC Driver with RAD Studio, Delphi, and C++ Builder.

Ready to get started?

Download a free trial of the Claude Compliance ODBC Driver to get started:

 Download Now

Learn more:

Claude Compliance Icon Claude Compliance ODBC Driver

The Claude Compliance ODBC Driver is a powerful tool that allows you to connect with live data from Claude Compliance, directly from any applications that support ODBC connectivity.

Access Claude Compliance data like you would a database - read Claude Compliance Activities, Chats, ChatMessages, CodeArtifacts, ComplianceRoles, Organizations, OrganizationUsers, Projects, etc. through a standard ODBC Driver interface.