Firstly open the CRM and navigate to ‘Settings’ and click it.

Withing settings click ‘Solutions’

Click on ‘New’ as show in image below to create a new solution

Enter all the filed underlined by red colour and save the record.

You can see a new solution is created by name ‘LeadAccountandOpportunity’

Now select your newly created solution and click ‘Publish All Customization’ as shown in image below.

Click on the solution which you just created.

Open this record and click ‘Add Existing’ and select ‘Entity’ as shown in screen shot

Select ‘Account, Lead and Opportunity’ one by one and click ‘OK’

And do same for all three selected entities one by one as shown in the screen shot below.

Here you can see all the three entities added one by one following the same process as shown above.

Select your solution and click ‘Publish All Customizations’

Select your solution click ‘Export’ as shown in screen shot below

Click on the ‘Next’ button.

Again click ‘Next’

Again click ‘Next’

Select ‘Unmanaged’ and click ‘Next’

Click ‘Export’

Save this record on your computer desktop or any location suitable to you as shown in the screen shot below.

Here you can see the export solution by name ‘Account, Lead and Opportunity’ is created on the desktop successfully.
