From f239ac8eb0271675484b8f6a14a0be8c0915c155 Mon Sep 17 00:00:00 2001 From: KristalCode <120613994+kyorkJ1@users.noreply.github.com> Date: Fri, 25 Oct 2024 13:38:43 -0400 Subject: [PATCH] Update createIntegrationHelpers.md --- .../integration-sdk-core/docs/createIntegrationHelpers.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/packages/integration-sdk-core/docs/createIntegrationHelpers.md b/packages/integration-sdk-core/docs/createIntegrationHelpers.md index 8a2aecac4..e823ed415 100644 --- a/packages/integration-sdk-core/docs/createIntegrationHelpers.md +++ b/packages/integration-sdk-core/docs/createIntegrationHelpers.md @@ -96,7 +96,8 @@ const [MACHINE_ENTITY, createComputerEntity] = createMultiClassEntityMetadata({ # How to use it in a current graph integration -1. Create a file named helpers.ts in the src folder of your integration +1. Create a file named entity-defintions.ts in the src folder of your integration + 2. Add the following code to the file: ```typescript @@ -111,9 +112,7 @@ export const { createEntityType, createEntityMetadata } = ``` 3. Replace INTEGRATION_NAME with the name of your integration -4. Create a file named entities.ts in the src folder of your integration and add - all entities as the following EXAMPLE code: - +4. Add all entities as the following EXAMPLE code: ```typescript import { SchemaType } from '@jupiterone/integration-sdk-core'; import { createEntityType, createEntityMetadata } from './helpers';