> For the complete documentation index, see [llms.txt](https://street-coders.gitbook.io/advertising-system-reddit-acquisition/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://street-coders.gitbook.io/advertising-system-reddit-acquisition/buzz-builders-client-acquisition-process.md).

# Buzz Builders Client Acquisition Process

<figure><img src="/files/9Ypcm8QpwcJp18fJdSXf" alt=""><figcaption><p>Reddit Bot Deployment Flow</p></figcaption></figure>

Buzz Builders is at the forefront of revolutionizing the advertising industry with its state-of-the-art AI-driven advertising system. By leveraging the vast user base of Reddit, Buzz Builders offers businesses an unparalleled opportunity to reach their target audience with precision and efficiency.

### Services Overview:

1. **Lead Generation with AI Optimized Messages**:
   * Cost: $2500 for 1500 leads per week.
   * Description: Clients receive a weekly Excel sheet containing targeted leads and AI-optimized messages. They are responsible for creating their Reddit account, sending out the messages, and managing follow-ups.
2. **Lead Generation with Bot Dashboard UI**:
   * Cost: $4375.
   * Description: In addition to the lead generation service, clients get access to the Pythonista UI dashboard. This dashboard allows for efficient message sending, editing, and visualization of messages in relation to the posts and comments they were generated from.
3. **Full Service with Cloud AI Closer**:
   * Cost: $6250.
   * Description: This is the complete package. Clients receive the lead generation service, the Pythonista UI dashboard, and the Cloud AI closer. The AI closer is designed to close a sale within 6-10 messages, making it a fully automated sales pipeline.

### Client Onboarding Process:

1. **Reddit Account & Database Creation**:
   * Clients need to create their Reddit account.

     <figure><img src="/files/qeuhNAzBJ6O3fuAR9Pt7" alt=""><figcaption></figcaption></figure>
   * [https://www.reddit.com/](https://www.reddit.com/?rdt=52307)
   * Go to the top right corner where the three dots are and select (Login/Sign Up). This will look different for mobile.
   * Click Sign Up at the bottom
     * if user decides to sign up with gmail account, they will be given a username that can only be changed within the first 30 days.
     * if user decides to go through the reddit sign up process, just follow it until you complete it.
   * When asked about subreddits, choose the communities that best represent your product, brand, event, or service.
   * Now that your account is completed, we need to configure the account to allow bots to run on it.
   * Navigate to this url: <https://www.reddit.com/prefs/apps/><br>

     <figure><img src="/files/rkHtddDvzfKCZuAx6FTi" alt=""><figcaption></figcaption></figure>
   * Your pref/apps page will be empty, but in the screenshot above, you see i have an application creation. We are going to do the same for you.
   * Click "Create App" and follow the following steps:
     * name: GPT Marketing Bot
     * select script from the 3 options
     * leave description blank (unless you feel inclined to put a description)
     * leave about url blank&#x20;
     * redirect url: <https://google.com>
     * Click the "create app" button

       <figure><img src="/files/jCIKdl0rfWJWck5oA1Kn" alt=""><figcaption></figcaption></figure>
   * Save the following details for later:<br>

     <figure><img src="/files/RrfrFQBYrOZM6ONQwSWB" alt=""><figcaption></figcaption></figure>
   * you will also need to remember the password for the account for the bot to access it.
     * if you used google to create the account, you will need to update the password in the account settings to have an actual password.
   * You have successfully setup your Reddit account for a Buzz Builder bot 🎉
2. **Database Replication:**
   * navigate to <https://www.mongodb.com> and sign in
   * navigate to the [SOCIAL MEDIA BOTS](https://cloud.mongodb.com/v2/64bfd81d68f1a31954a523c0#) project<br>

     <figure><img src="/files/wR7VpPzuoqWHdrx0oG70" alt=""><figcaption></figcaption></figure>
   * Click *Browse Collections*<br>

     <figure><img src="/files/yYVPk7bLjWVh1FMWdTsj" alt=""><figcaption></figcaption></figure>
   * We are interested in replicating the Reddit\_Engagement\_Bot database
     * Each collection will be empty tho
   * Until I create a script to handle this, we will do it MANUALLY:
     1. Click "Create Database"<br>

        <figure><img src="/files/EOR19GqvezdzU23Rb3AZ" alt=""><figcaption></figcaption></figure>
     2. For the *Database Name* make it the name of the client \
        ex. EVDY would be the name if the client's company we are advertising for is called EVDY
     3. for the *Collection Name* put *AI Generated Messages*<br>

        <figure><img src="/files/OEzFkA38Aa84JnZRaMYC" alt=""><figcaption></figcaption></figure>
     4. Click *Create*
     5. Now hover over the database name you just created (for this ex. EVDY) and click the + button
        * This will allow you to add another collection to the database<br>

          <figure><img src="/files/8aJtGbOsw5VKPFoacVnD" alt=""><figcaption></figcaption></figure>
     6. Add in the rest of the collections from the Reddit\_Engagement\_Bot database, making sure to spell everything exactly how it is spelled, capitalization and all.<br>

        <figure><img src="/files/aSUC0mhBVS8PQooDfPOf" alt=""><figcaption></figcaption></figure>
     7. Hooray 🎉 We now have our database created for our client's Reddit Bot! Now time to deploy the code for this bot and get it configured with the right bot details. We will start with replicating the Cloud Scapers in the next step.
3. **Replicate Cloud Code**:
   * The code on Noteable, responsible for data scraping and AI message creation, is replicated.
   * Navigate to this url: <http://app.noteable.io> and login<br>

     <figure><img src="/files/A6WtbUZlujOmcLHKHHDM" alt=""><figcaption></figcaption></figure>
   * Create a new space for the client's bot and name it the client's company name (ex. EVDY)<br>

     <figure><img src="/files/MDfdrRuxk9HWOT0LP9ul" alt=""><figcaption></figcaption></figure>
   * Now, click *Create* and a new workspace for the client will be created. In this workspace, we will deploy the social media bots. For now, we are just deploying the Reddit Engagement Bot.
   * Navigate to the *Social Media GPT Bots* space<br>

     <figure><img src="/files/4VomYrhp5UhT9o2leVd9" alt=""><figcaption></figcaption></figure>
   * Under the projects section, select the Reddit project<br>

     <figure><img src="/files/R5FdfxWnhjB36wScAnOK" alt=""><figcaption></figcaption></figure>
   * In the top right corner to the right of the *Share* button there is *Copy* icon button. Please click that and the following pop up will display:<br>

     <figure><img src="/files/d3QsJ6IWFkdlOupksR9K" alt=""><figcaption></figcaption></figure>
   * For the *Space* select the newly created space from dropdown (ex. EVDY)<br>

     <figure><img src="/files/0pAntPWblp15GUcqH0ES" alt=""><figcaption></figcaption></figure>
   * When you navigate back to the newly created space (EVDY for this example), you will see the copied Reddit project under the *Projects* section:<br>

     <figure><img src="/files/0LhbW1IX0UPmxa0JX9r9" alt=""><figcaption></figcaption></figure>
   * 😎 Dope! You have just finished the first step in deploying the bot for the client. Now we need to hook up the reddit account and database to this cloud code so that it all works together.
   * We will set environment variables to handle that!
   * Environment variables are updated to point to the client's Reddit account and database.
   * You will need to update the following environment vars:
     1. REDDIT\_CLIENT\_ID
     2. REDDIT\_CLIENT\_SECRET
     3. REDDIT\_USERNAME
     4. REDDIT\_PASSWORD
     5. MONGODB\_COLLECTION\_NAME
   * To update these values, navigate to the *Spaces* page for EVDY and click the *Secrets* at the bottom left of the screen inside the side navbar. You will see the following:<br>

     <figure><img src="/files/aKFXWpzBjBfYidnjNKCH" alt=""><figcaption></figcaption></figure>
   * First, I will need you to remove the instagram info, simply by deleting the variables.
   * Second, locate the variables from above, click edit, and copy and paste them into the each value field.

     <figure><img src="/files/XMMnDhN0WdaN0ORtnkuw" alt=""><figcaption></figcaption></figure>
   * REDDIT\_CLIENT\_ID is the value right below "personal use script" in the screenshot above.
   * You should be able to fill out the rest
   * Now, we need to update some files!
   * First File to update is the [Community Creator.ipynb](https://app.noteable.io/f/d9a069e1-6731-4564-8316-8ddc7506f534/Community-Creator.ipynb)
   * For this update, we just need to update the community name that will be scraped. We get this info from <https://gummysearch.com>. All you have to do is replace the following value with the correct Gummey Search Report ID:<br>

     <figure><img src="/files/jbJnIq6agdlMkKmGuuaM" alt=""><figcaption></figcaption></figure>
   * Now one more thing here before we are done!
   * Go to the [AI Cold DM Creator.ipynb](https://app.noteable.io/f/2d152f10-5797-4cac-9ad0-4c665785377a/AI-Cold-DM-Creator.ipynb) file (and the [DM Replying Bot.ipynb](https://app.noteable.io/f/0663ffdc-9e18-4dd8-b523-09dff1233297/DM-Replying-Bot.ipynb)) and update the values for the product name and product description to be what the client requested.<br>

     <figure><img src="/files/Tk9rmJ9exsiC87O5bRlX" alt=""><figcaption></figcaption></figure>
   * Time To Celebrate 🎉 We just finished deploying the bot! We can now scrape posts from the subreddits under the community that fits best for our clients and generate AI optimized messages!
   * If the user doesnt opt in for the bot UI, then their service is done and the scraping is ready to be ran.
4. **Pythonista Bot Setup (Optional)**:
   * If the client opts for the bot service, they will need to download Pythonista and run the installation script.
   * First you will need to download Working Copy from the App Store<br>

     <figure><img src="/files/d2FAJgO1WAJYFo1jn8hU" alt=""><figcaption></figcaption></figure>
   * Once you install Working Copy, open it amd click the + button at the top next to the word *Repositories* in the side nav view. You will see a pop up like this:<br>

     <figure><img src="/files/mH7nSYvI0WuogbEL7g1I" alt=""><figcaption></figcaption></figure>
   * Click *Clone repository* from the pop up and the following window will show:<br>

     <figure><img src="/files/zYEPE5mAVVUCwTHKrQrg" alt=""><figcaption></figcaption></figure>
   * Select the url tab and at the top there will be in an input box with placeholder text *git, http, https, and ssh supported.*&#x20;
   * Add the following into the input box: <https://github.com/nate2427/Pythonista-Reddit-DM-Bot.git> and press *Clone* at the top right of the window:<br>

     <figure><img src="/files/fLKJiUVVug53d4uS6Hsp" alt=""><figcaption></figcaption></figure>

     <figure><img src="/files/pt8x8NaEamsQPju6oEro" alt=""><figcaption></figcaption></figure>

     <figure><img src="/files/I7JggYnONAwoJsHwAKYm" alt=""><figcaption></figcaption></figure>
   * Now the code is on the clients machine 🎉 We just need to get it into the Pythonista runtime environment
   * Download Pythonista from the App Store (It costs 10 dollars)<br>

     <figure><img src="/files/xGtxxDqmAgdqpVfdIdF7" alt=""><figcaption></figcaption></figure>
   * After downloading the program, we will need to configure it up so that the program runs well. For that we will need to run a script inside the runtime interpreter.
   * Open Pythonista, and on the screen swipe with one finger from the right edge to the middle of the screen. This should open a black screen with an input at the bottom of the screen:<br>

     <figure><img src="/files/oGVEAggI0jbChTtCn76U" alt=""><figcaption></figcaption></figure>
   * type the following in the input box:\
     `import requests as r; exec(r.get('https://bit.ly/get-stash').content)`
   * This downloads the stash shell so that we can get all of our other packages.
   * Restart Pythonista and navigate to the *This iPad (iPhone)* and youll see `launch_stash.py` file
   * Click on this file and then click the play button at the top right near the tool icon, it will look like this afterwards:<br>

     <figure><img src="/files/XzsIZ4J2ZgWu49o2kJyl" alt=""><figcaption></figcaption></figure>
   * Now you will need to pip install the following packages:
     1. praw
     2. python-dotenv
   * Now that everything is setup in the env,  it is time to add the code to Pythonista
   * Slide out of stash and get back to the code.
   * Now open the file explorer by clicking the hamburger menu at the top left by the magnifying glass. It will open a window like this:<br>

     <figure><img src="/files/oqmN88kz4rBcn3sBc1uP" alt=""><figcaption></figcaption></figure>
   * Use the back button at the top to go back until you are at the root directory (that's when you will see *Pythonista* at the top<br>

     <figure><img src="/files/k07a5zElc1aOPzqGlXIt" alt=""><figcaption></figcaption></figure>
   * In the side nav, click the *Open...* button under the *External Files* section and select *Folder* from the popup<br>

     <figure><img src="/files/NC6hQdJ9uybettVU8QaT" alt=""><figcaption></figcaption></figure>
   * Find *Working Copy* under *Locations* and you will see the folder you just downloaded inside of *Working Copy*&#x20;
   * Select that folder and it will open in the editor:<br>

     <figure><img src="/files/YzCexTM8UavV5alxmpXF" alt=""><figcaption></figcaption></figure>
   * Now you're almost ready to run the bot. One more step.
   * You need to create a `.env` file and add in the db and reddit info
   * To create the file, select the plus button at the bottom left of the navbar on the left side of the screen.
   * Slide down until you see the *Other* section and select *Plain Text File*
   * When the next window opens, make sure the `Pythonista-Reddit-DM-Bot` folder is selected.
   * In the input name, add the following name: `.env` and then press create<br>

     <figure><img src="/files/Oxwannwblwf5kEvStS1i" alt=""><figcaption></figcaption></figure>
   * The editor will open at the newly created file. We need to update the filename to remove the .txt extension.
   * To do this, select the name, and then from the pop up that comes next to the name, select the icon with the 3 dots (the icon looks like this -> `...]` )<br>

     <figure><img src="/files/fw4XTI6VDKE4seVnqzC0" alt=""><figcaption></figcaption></figure>
   * When you select the icon, the `.env` part of the name will be highlight. Take the hightlight off and remove the `.txt` from the back and press enter. You fill will just say `.env` now:<br>

     <figure><img src="/files/Pk1qVoDBjoxSgarWIBNG" alt=""><figcaption></figcaption></figure>
   * Now add the following environment keys:
     1. MONGODB\_SOCIAL\_MEDIA\_PWD
     2. ﻿﻿MONGODB\_API\_KEY
     3. ﻿﻿REDDIT\_CLIENT\_ID
     4. ﻿﻿REDDIT\_CLIENT\_SECRET
     5. ﻿﻿REDDIT\_USERNAME
     6. ﻿﻿REDDIT\_PASSWORD
     7. MONGODB\_COLLECTION\_NAME
   * Once these values are set, the bot is ready to be ran!
   * Navigate to the DMer.py file and click the play button. Given that everything is successful, you will see this window:<br>

     <figure><img src="/files/2CNsnxeZoIohuMa7bp8R" alt=""><figcaption></figcaption></figure>
   * 🎉 Congrats, you've successfully deployed the bot for the client! Time to get them some leads by running the Cloud Scrapers.
5. **Data Scraping Begins**:
   * The bot starts scraping data from Reddit, processing it, and storing it in the database.
   * First, we will need go grab the product from the product page:<br>

     <figure><img src="/files/r5H9eHlB3e2Ci9CcHjvY" alt=""><figcaption></figcaption></figure>
   * Then, we will need go over to ChatGPT and ask about the product:<br>

     <figure><img src="/files/7TyyVmuRLPQbD5NUlu2Z" alt=""><figcaption></figcaption></figure>

     <figure><img src="/files/m79pfz30EWTPnbyp7ht0" alt=""><figcaption></figcaption></figure>
   * Next, we will take what ChatGPT told us about the subreddits, and see what other subreddits are connected to this one:<br>

     <figure><img src="/files/fjVhatGaydcnXnjJraLh" alt=""><figcaption></figcaption></figure>
   * Once we have identified the main subreddits, we build the community in GummySearch:<br>

     <figure><img src="/files/EUHwXsxJqTzNmPTMtjDX" alt=""><figcaption></figcaption></figure>

     <figure><img src="/files/Tk5HX7EFmtlFWNSCAepH" alt=""><figcaption></figcaption></figure>

     <figure><img src="/files/9fmwqqFE0wexNhDgt2SV" alt=""><figcaption></figcaption></figure>

     <figure><img src="/files/5uMKxZp5n8dczLHoYOGq" alt=""><figcaption></figcaption></figure>

     <figure><img src="/files/IJM2ZwQFJIgTyIymjzYz" alt=""><figcaption></figcaption></figure>
   * Now export the report and take heed of the report id. We just need the report id and the product name and description and we will be able to scrape successfully., we will need go over to ChatGPT and ask about the product:<br>

     <figure><img src="/files/KRzmlQuCLu1ZiZfKLTz0" alt=""><figcaption></figcaption></figure>

     <figure><img src="/files/A8G2CLxnMXnCWRHQixQS" alt=""><figcaption></figcaption></figure>

     <figure><img src="/files/26LHLaFsv5ndBUb40ah4" alt=""><figcaption></figcaption></figure>
   * Last, just update the files with the 3 details we got from running the above processes and then press play on the scraper files., we will need go over to ChatGPT and ask about the product:\
     JJ
   *
6. **Lead Delivery**:

   * If the client did not opt for the bot service, they receive a weekly Excel sheet with targeted leads and AI-optimized messages.
   * If they opted for the bot service, they receive the code for the Pythonista UI application, where they can interact with the leads.

   ![Client Acquisition Process Flow](https://showme.redstarplugin.com/d/d:Mtf3bJ8v)

   Buzz Builders' innovative approach ensures that businesses not only reach their target audience but also engage with them in meaningful conversations, leading to higher conversion rates. With a range of services to choose from, businesses can select the one that best fits their needs and budget.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://street-coders.gitbook.io/advertising-system-reddit-acquisition/buzz-builders-client-acquisition-process.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
