Skip to content

Commit

Permalink
add contributing guide
Browse files Browse the repository at this point in the history
  • Loading branch information
a-neustroev authored and thinkingabouther committed Jan 7, 2025
1 parent 977fe8f commit 97a1469
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 8 deletions.
16 changes: 14 additions & 2 deletions integrations/hibob/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,19 @@
# Contributing to Ocean - hibob

# HiBob Authentication

For integration to work both locally and in production, you need to obtain [HiBob API Service User Credentials](https://apidocs.hibob.com/reference/authorization) and set up [Permissions](https://apidocs.hibob.com/reference/permissions). It is advised to grant the least permissions possible to the API Service User to mitigate any possible data leaks.

## Running locally

#### NOTE: Add your own instructions of how to run hibob
1. Fill in .env file values based .env.example using Port Credentials and HiBob API Service User obtained in `Hibob Authentication` section
2. Run the integration: `make run`

# API specification
Currently, API endpoints in use are
- Get Employees' Profiles to ingest `kind=profile`: https://apidocs.hibob.com/reference/get_profiles
- Get Company Lists to ingest `kind=list`: https://apidocs.hibob.com/reference/get_company-named-lists

## Possible next steps

This could be any gotcha's such as rate limiting, how to setup credentials and so forth
HiBob supports webhooks to update the employees' data in real time: https://apidocs.hibob.com/reference/getting-started-webhooks
2 changes: 1 addition & 1 deletion integrations/hibob/examples/raw/lists.response.json
Original file line number Diff line number Diff line change
Expand Up @@ -174,4 +174,4 @@
}
]
}
}
}
2 changes: 1 addition & 1 deletion integrations/hibob/examples/raw/profiles.response.json
Original file line number Diff line number Diff line change
Expand Up @@ -125,4 +125,4 @@
"firstName": "Alice"
}
]
}
}
8 changes: 4 additions & 4 deletions integrations/hibob/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 97a1469

Please sign in to comment.