# Sell to State + Activepieces *Source: [https://www.selltostate.com/integrations/activepieces/](https://www.selltostate.com/integrations/activepieces/)* The Sell to State piece adds tender, buyer and supplier actions to Activepieces, and a New Tender trigger that starts a flow when Sell to State adds tenders that match your search. ## What you can do - Start a flow when Sell to State adds tenders that match your search, by text and country. - Search tenders by text, country and deadline status. - Find the companies that win contracts for a subject, or one company by name. - Get a buyer profile or a supplier profile. - Call any endpoint of the Sell to State API with the Custom API Call action. ## Set up 1. **Install the piece.** In Activepieces, go to Settings, then My Pieces, and select Install Piece. Enter this package name and select Install. ``` @selltostate/piece-sell-to-state ``` 2. **Connect your account.** Add a Sell to State step to a flow. Create a connection and paste an API key from your Sell to State account. 3. **Build a flow.** Use the New Tender trigger to start on new tenders, or an action to search tenders, buyers and suppliers. ## Flow ideas - "New UK tenders for payroll software go to a Slack channel." - "Open tenders in Ireland about cybersecurity go to a Google Sheet." - "A supplier profile goes to your CRM when a new deal starts." ## Requirements - An Activepieces account that can install pieces (Settings, My Pieces). On a team platform, a platform admin installs it. - An API key from your Sell to State account. - A Sell to State account with an active plan. The tools return data only for an active plan. - Data depth differs by country. The countries page shows what each country has. ## Questions **Is the piece in the Activepieces catalog?** Not yet. Install it by its npm package name with the steps on this page. The actions and the data are the same. **Where does the data come from?** From official government procurement sources, for example Find a Tender and Contracts Finder (UK), TED (EU) and national portals. Each tender links to its official notice. ## Links - [Piece on npm](https://www.npmjs.com/package/@selltostate/piece-sell-to-state) - [Source on GitHub](https://github.com/getbeton/activepieces/tree/feat/sell-to-state-piece/packages/pieces/community/sell-to-state) - [Activepieces: install a community piece](https://www.activepieces.com/docs/build-pieces/sharing-pieces/community) - [Create an API key](https://app.selltostate.com/account/keys)