In this tutorial, we’ll show you how to wrap your content (i.e., a whitepaper download) with a Gravity Form, using our plugin Before & After Pro. When we’re finished, you’ll have a working lead capture form that your visitors will need to complete before they will can access your content.
Step 1: Create a new Gravity Form in WordPress. It can have as few or as many fields as you would like.
![Create a new Gravity Form](http://goldplugins.com/wp-content/uploads/2015/01/add-new-gform-1024x621.png)
Step 2: Create a new Goal in Before and After
![First, select Goals from the Before & After menu](http://goldplugins.com/wp-content/uploads/2015/01/b-a-goals-menu-300x210.png)
![Next, click the "Add Goal" button to create a new Goal](http://goldplugins.com/wp-content/uploads/2015/01/click-here-to-add-goal-300x210.png)
- In your WordPress dashboard, Find the Before & After menu, then click on Goals
- Click Add New Goal at the top of the screen
- This will bring you to the Add New Goal screen
Step 3: In the “Before” section, select the Gravity Form you just created from the dropdown menu
Note: be sure to also select the radio button for “Show a Gravity Form”
![Select your new Gravity Form in the Before section](http://goldplugins.com/wp-content/uploads/2015/01/select-gform-zoom.png)
Step 4: In the After section, choose the reward you’d like to offer
![Specify the reward your visitors will receive in the After section](/wp-content/uploads/2015/01/b-a-reward.png)
In this example, we are offering a whitepaper download (a PDF file), so we will choose “Link to a file to download”, and paste the URL of our PDF
Note: be sure to also select the radio button for “Link to a file to download”
Step 5: Publish your goal, and copy the shortcode
![publish-and-get-shortcode](http://goldplugins.com/wp-content/uploads/2015/01/publish-and-get-shortcode-1024x520.png)
Step 6: Paste the shortcode into the page (or post) where you would like the lead capture form to appear
![Add your new goal shortcode to any page or post!](http://goldplugins.com/wp-content/uploads/2015/01/add-shortcode-1024x520.png)
That’s all! Now when your visitor access this page, they’ll see your new lead capture form!