---
updatedAt: 2025-01-10T10:03:10.000Z
agentTools:
  projectIndex: https://docs.thegivingblock.com/llms.txt
---

# 📈 Stock Donations

This flow should be used when you would like to build your own donation form or embed our donation form with support for stock donations.

# Authentication

* [x] If not yet authenticated then perform [Authentication](https://docs.thegivingblock.com/reference/authentication)
  * Obtain **access** and **refresh** tokens and store them securely to get access to other API endpoints.

# Stock onboarding flow

* [x] Use the [NonProfitOnboarding](https://docs.thegivingblock.com/reference/post_v1-non-profit-onboarding) endpoint to create a new non-profit organization entity in our system
  * Please contact <integrations@thegivingblock.com> for assistance with mapping your non-profit organization data to the endpoint parameters if needed.
  * Obtain an **organization ID** in the response.
* [x] Use the [NonProfitStockOnboarding](https://docs.thegivingblock.com/reference/post_v1-non-profit-onboarding-organizationid-stock) endpoint to enable the Stock donation method