Skip to content

AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents

558 B
Raw Blame
import { PieceAuth, Property } from '@activepieces/pieces-framework';

export interface ContentfulAuth {
  apiKey: string;
  environment: string;
  space: string;
}

export const ContentfulAuth = PieceAuth.CustomAuth({
  required: true,
  props: {
    apiKey: Property.ShortText({
      displayName: 'Contentful Access Token',
      required: true,
    }),
    space: Property.ShortText({
      displayName: 'Space',
      required: true,
    }),
    environment: Property.ShortText({
      displayName: 'Environment',
      required: true,
    }),
  },
});