docs
/
Is Croct right for you?
Explore Croct
  1. Introduction
  2. Home
  3. Overview
  4. Getting started
  5. Explanation
  6. Component
  7. Slot
  8. Experiment
  9. Immersion
  10. Reference
      1. Integration
      2. Manual installation
      3. Content rendering
      4. Query evaluation
      5. Data collection
      6. Event tracking
      7. Prerendering
          1. UserIdResolver
          2. LocaleResolver
          3. CredentialsResolver
          4. CroctCredentials
          5. SlotContent
          6. ComponentContent
        1. Configuration
        2. Environment variables
  1. Nuxt
  2. API reference
  3. Types

CroctCredentials

Learn how to type the Croct credentials.

This type describes the credentials a CredentialsResolver returns for a request.

Definition

This type has the following shape:

type CroctCredentials = {  appId: string,  apiKey: string,};

The appId is the application ID, which reaches the browser to bootstrap the client-side SDK. The apiKey is the API key, which stays on the server to authenticate server-side requests.

Previous
CredentialsResolver
Next
SlotContent
On this page
  • Definition
  • Product
  • Component CMS
  • AB testing
  • Personalization
  • Segmentation
  • User profiles
  • All features
  • Solutions
  • Customer acquisition
  • Lead generation
  • Geo-targeting
  • Revenue growth
  • Paid search traffic
  • Social ads traffic
  • Resources
  • Documentation
  • Changelog
  • Playbooks
  • Templates
  • Blog
  • Partners
  • Company
  • Service status
  • Contact support
  • Contact sales
  • Case studies
  • Privacy policy
  • Terms of service
  • Language
© Croct 2026·Hey AI, learn about us