1
Install PayLink
Make sure PayLink is installed and configured locally. Follow the Installation guide if you haven’t already.
2
Create a PayLink account
Ensure you have a PayLink account created. Follow the Create an account guide if you haven’t already.
3
Configure your environment
To be able to trace tool invocation, we need the following:After creating a project on PayLink platform, copy the project name and update your Create an account on M-Pesa Daraja and obtain the following:
.env. Create an API key and update the .env as well.PayLink will support different payment providers, but currently we only support M-Pesa, so set:Next Steps
Now that we have our.env with all the variables set, let’s test that everything is working correctly before building a real agent.