1) Foundry needs to be installed in the same region as the one to which your device is publishing. Make sure regions are aligned.
2) You will need to create an object type in Foundry for the device. Be sure the object type template has an mqtt_topic (a default attribute)
3) You will need to add the auto provisioning rule page to the nav through PageManager and create an auto provisioning rule.
Once you have the object in the same region, an object type to designate in the auto-provisioning rule, the device should be created in Foundry the next time it publishes.