# pdk-prerequisites Verify and install all prerequisites for Flex Gateway custom policy development with PDK — Anypoint CLI v4 with the PDK plugin, Rust toolchain, wasm32-wasip1 target, Docker, and Anypoint Platform credentials. Use when any PDK skill reports a missing tool, when the user asks "how do I set up PDK", "what do I need for custom policies", "PDK prerequisites", or when a build/publish/test command fails with a toolchain error. - **Skill Source:** [SKILL.md](https://dev-portal.mulesoft.com/skills/mule-development/pdk-prerequisites/SKILL.md) ## Steps ### Step 1: Step 1: Check Everything ### Step 2: Step 2: Install Node.js (if missing) ### Step 3: Step 3: Install Anypoint CLI v4 (if missing) ### Step 4: Step 4: Install the PDK Plugin (if missing or outdated) ### Step 5: Step 5: Install Rust (if missing) ### Step 6: Step 6: Install the WASM Target (if missing) ### Step 7: Step 7: Install Docker (if missing) ### Step 8: Step 8: Configure Anypoint Platform Credentials