On first start, pterodactyl should ask you to accept the minecraft EULA. If you miss this, follow the guide below:
1. Log into the Pterodactyl panel and open your server
2. Head to the file manager
3. Open eula.txt
4. Change eula=false to eula=true
5. Restart your server