I hAve a feature layer in agol.
Can I export that to shape file so that I can use it in arcmap and join External data on it.
If you have an organizational account you can export a feature service to shapefile.
See here: How can I download a feature class from an ArcGIS Online web map? - Geographic Information Systems Stack Exchange
Retrieving data ...