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

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

export const bambooHrAuth = PieceAuth.CustomAuth({
  required: true,
  description:
    'Follow [these instructions](https://documentation.bamboohr.com/docs/getting-started#authentication) to get your API key',
  props: {
    companyDomain: Property.ShortText({
      displayName: 'Company domain',
      description:
        'The subdomain used to access BambooHR. If you access BambooHR at https://mycompany.bamboohr.com, then the companyDomain is "mycompany"',
      required: true,
    }),
    apiKey: PieceAuth.SecretText({
      displayName: 'API key',
      required: true,
    }),
  },
});