RemoFirst Install Auth
Overview
Set up RemoFirst API authentication for global HR and payroll integration. RemoFirst provides API access for enterprise customers.
Prerequisites
- RemoFirst enterprise account
- API credentials from RemoFirst support team
- Node.js 18+ or Python 3.9+
Instructions
Step 1: Get API Credentials
1. Contact RemoFirst support for API access
2. Receive API key and base URL
3. Note: Sandbox environment available for testing
Step 2: Configure Environment
# .env
REMOFIRST_API_KEY=your_api_key
REMOFIRST_BASE_URL=https://api.remofirst.com/v1
Step 3: Initialize Client
import os, requests
class RemoFirstClient:
def __init__(self):
self.base_url = os.environ["REMOFIRST_BASE_URL"]
self.headers = {
"Authorization": f"Bearer {os.environ['REMOFIRST_API_KEY']}",
"Content-Type": "application/json",
}
def get(self, path, params=None):
resp = requests.get(f"{self.base_url}{path}", headers=self.headers, params=params)
resp.raise_for_status()
return resp.json()
def post(self, path, data):
resp = requests.post(f"{self.base_url}{path}", headers=self.headers, json=data)
resp.raise_for_status()
return resp.json()
client = RemoFirstClient()
Step 4: Verify Connection
company = client.get("/company")
print(f"Connected! Company: {company['name']}")
print(f"Countries: {len(company.get('active_countries', []))}")
Output
- API credentials configured
- Client initialized with authentication
- Connection verified
Error Handling
| Error |
Cause |
Solution |
401 Unauthorized |
Invalid API key |
Contact RemoFirst support |
403 Forbidden |
API access not enabled |
Request API access from account manager |
| Connection refused |
Wrong base URL |
Verify URL with RemoFirst |
Resources
Next Steps
First API call: remofirst-hello-world
1---
2name: remofirst-install-auth
3description: |
4 RemoFirst install auth — global HR, EOR, and payroll platform integration.
5 Use when working with RemoFirst for global employment, payroll, or compliance.
6 Trigger with phrases like "remofirst install auth", "remofirst-install-auth", "global HR API".
7allowed-tools: Read, Write, Edit, Bash(npm:*), Bash(curl:*), Grep
8version: 2.0.0
9license: MIT
10author: Jeremy Longshore <jeremy@intentsolutions.io>
11tags: [saas, remofirst, hr, eor, payroll, global-employment]
12compatible-with: claude-code, codex, openclaw
13metadata:
14 source: https://skillmd.com/skills/aibot88/remofirst-install-auth
15---
16
17# RemoFirst Install Auth
18
19## Overview
20Set up RemoFirst API authentication for global HR and payroll integration. RemoFirst provides API access for enterprise customers.
21
22## Prerequisites
23- RemoFirst enterprise account
24- API credentials from RemoFirst support team
25- Node.js 18+ or Python 3.9+
26
27## Instructions
28
29### Step 1: Get API Credentials
30```text
311. Contact RemoFirst support for API access
322. Receive API key and base URL
333. Note: Sandbox environment available for testing
34```
35
36### Step 2: Configure Environment
37```bash
38# .env
39REMOFIRST_API_KEY=your_api_key
40REMOFIRST_BASE_URL=https://api.remofirst.com/v1
41```
42
43### Step 3: Initialize Client
44```python
45import os, requests
46
47class RemoFirstClient:
48 def __init__(self):
49 self.base_url = os.environ["REMOFIRST_BASE_URL"]
50 self.headers = {
51 "Authorization": f"Bearer {os.environ['REMOFIRST_API_KEY']}",
52 "Content-Type": "application/json",
53 }
54
55 def get(self, path, params=None):
56 resp = requests.get(f"{self.base_url}{path}", headers=self.headers, params=params)
57 resp.raise_for_status()
58 return resp.json()
59
60 def post(self, path, data):
61 resp = requests.post(f"{self.base_url}{path}", headers=self.headers, json=data)
62 resp.raise_for_status()
63 return resp.json()
64
65client = RemoFirstClient()
66```
67
68### Step 4: Verify Connection
69```python
70company = client.get("/company")
71print(f"Connected! Company: {company['name']}")
72print(f"Countries: {len(company.get('active_countries', []))}")
73```
74
75## Output
76- API credentials configured
77- Client initialized with authentication
78- Connection verified
79
80## Error Handling
81| Error | Cause | Solution |
82|-------|-------|----------|
83| `401 Unauthorized` | Invalid API key | Contact RemoFirst support |
84| `403 Forbidden` | API access not enabled | Request API access from account manager |
85| Connection refused | Wrong base URL | Verify URL with RemoFirst |
86
87## Resources
88- [RemoFirst](https://www.remofirst.com)
89- [Global HR Solutions](https://www.remofirst.com/solutions/human-resources)
90
91## Next Steps
92First API call: `remofirst-hello-world`