# Connect Make to SAM.gov data

To connect Make to SAM.gov data, add an HTTP Make a request module with Authentication type API key, a keychain whose key is Bearer followed by your key, placement In the header and parameter name Authorization, and call https://samgovapi.io/api/v1 endpoints. Make's MCP Client app (beta) can also call the server's tools.

Make scenarios suit teams that route data between many apps: a new sources sought notice can become a CRM opportunity, a Slack message and a calendar reminder in one run.

- Connects with: MCP or REST
- MCP server: https://samgovapi.io/api/mcp
- REST base: https://samgovapi.io/api/v1
- Auth: Authorization: Bearer <key>, kept in SAMGOVAPI_API_KEY

## Get a key

Free key at https://samgovapi.io/sign-up, or have the agent call start_signup and approve the link it shows you. The key sits in a Make keychain, not in the scenario blueprint.

## Set up Make

1. Create the keychain: In the HTTP module, choose Authentication type API key and add a keychain.

Keychain:

```
Key: Bearer sg_...
API key placement: In the header
API key parameter name: Authorization
```

2. Make the request: Use GET and the endpoint URL with its query string, and turn on Parse response so later modules can map the data array.

Make a request:

```
URL: https://samgovapi.io/api/v1/opportunities?naics=541512&open=true&limit=50
Method: GET
Parse response: Yes
```

3. MCP route (beta): The MCP Client app connects with the server URL and an API key or access token field. Make does not document whether that field adds the Bearer prefix; if calls fail, enter Bearer followed by the key.

## Finish account setup once

Data tools unlock after the account answers its onboarding questions: ask the agent to set up your samgovapi account (get_onboarding_questions, then answer_onboarding). Free.

## Check that it works

Ask: "Is UEI ZXBCU6K5KL99 registered in SAM.gov, and when does its registration expire?"

Expected tool call:

```json
{"name":"registration_status","arguments":{"id":"ZXBCU6K5KL99","user_request":"check a registration and its expiry"}}
```

## Things to know

- Make advises against putting credentials in the Headers field; use the keychain.

## Troubleshooting

- 401 Unauthorized: The keychain key must include the Bearer prefix and a space.
- Iterator gets one bundle: Point the Iterator at the data array of the parsed response.
- MCP Client errors: Try the token with and without the Bearer prefix; the app is in beta.

## Questions

### Can Make paginate?

Loop with a Repeater or the HTTP module's pagination options, passing next_cursor as the cursor parameter until it is null.

## Official documentation

- Make: HTTP app: https://apps.make.com/http
- Make: API key authentication: https://apps.make.com/api-key-authentication-type

Checked 2026-11-13. All guides: https://samgovapi.io/agents.md

Independent. Not affiliated with, endorsed by or sponsored by GSA, SAM.gov or any U.S. government agency. Registering in SAM.gov is free at sam.gov.
