# Components

Sourcey supports rich components in plain markdown using `:::directive` syntax. No JSX imports needed. The Cheese Store instructions and addresses below are illustrative; there is no live Cheese Store API or SDK.


## Callouts {#callouts}




> [!NOTE]
> API keys are scoped to environments. A test key won't work against production endpoints and vice versa.





> [!WARNING]
> Never commit API keys to version control. Use environment variables or a secrets manager.





> [!TIP]
> Use the `fields` query parameter to request only the data you need. Smaller payloads mean faster responses and less bandwidth, which matters when you're querying 247 cheeses.





> [!IMPORTANT]
> The Cheese Store API follows OpenAPI 3.1 and all responses use `application/json` unless otherwise noted.





> [!NOTE]
> **Custom Title**
>
> You can override the default callout title by adding text after the type.




## Steps {#steps}




1. **Install the SDK**

   For a real service, choose a supported client or use HTTP directly.

2. **Set your API key**

   Export `CHEESE_API_KEY` in your shell or pass it to the client constructor.

3. **Make a request**

   Send a request to your own service and handle errors and retries in your client.




## Tabs {#tabs}








**Soft**

The crowd-pleasers. Brie, Camembert, Époisses, Vacherin Mont d'Or. Spreadable at room temperature, devastating on fresh bread. Best consumed before they achieve sentience and crawl off the board.






**Hard**

The patient ones. Comté aged 24 months, Parmigiano-Reggiano, aged Gruyère. These wheels have been sitting in caves longer than most startups have been alive. Worth the wait.






**Blue**

Not for the faint-hearted. Roquefort, Stilton, Gorgonzola Dolce. The mould is the feature, not a bug. Pairs well with honey, port wine, and a willingness to clear a room.






## Code Group {#code-group}






**Node.js**

```javascript
const res = await fetch('https://cheese.example.com/v2/cheeses');
const data = await res.json();
```



**Python**

```python
import requests
res = requests.get('https://cheese.example.com/v2/cheeses')
data = res.json()
```



**cURL**

```bash
curl -s 'https://cheese.example.com/v2/cheeses' | jq
```






## Cards {#cards}








**[Authentication](https://cheesestore-docs.pages.dev/authentication.md)**

API keys, OAuth2, and credential rotation without downtime.






**[Webhooks](https://cheesestore-docs.pages.dev/guides/webhooks.md)**

Real-time event notifications for orders, inventory, and more.






**[API Reference](https://cheesestore-docs.pages.dev/api.md)**

Every endpoint, every parameter, every cheese.






## Accordion {#accordion}






**What milk types do you support?**

We catalog cheeses made from cow, sheep, goat, and buffalo milk. Mixed-milk cheeses list all constituent milk types. We're considering adding camel and yak but the supply chain logistics are challenging.







**Can I filter by stinkiness?**

Yes. Use `stinkiness_min` and `stinkiness_max` query parameters on `GET /v2/cheeses`. For the brave, `stinkiness_min=8` returns only the most assertive specimens.
